This repository was archived by the owner on Nov 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 123123 <div class =" sub-title" >
124124 <div class =" sub-title-title" >{{ $t("instancesDetail.updateCmd") }}</div >
125125 <div class =" sub-title-info" >
126- {{ $t("instancesDetail.updateCmdInfo") }}
126+ {{ $t("instancesDetail.updateCmdInfo", { t: "${mcsm_workspace}" } ) }}
127127 </div >
128128 </div >
129129 <el-input
130130 v-model =" instanceInfo.config.updateCommand"
131131 type =" text"
132- :placeholder =" $t('instancesDetail.updateCmdExample') "
132+ :placeholder =" defaultInstallCommand "
133133 >
134134 </el-input >
135135 </el-col >
@@ -555,7 +555,8 @@ export default {
555555 imageListLoading: false ,
556556 networkModeListLoading: false ,
557557 commandAssistPanel: false ,
558-
558+ defaultInstallCommand:
559+ ' D:/SteamCMD/steamcmd.exe +login anonymous +force_install_dir "${mcsm_workspace}" "+app_update 380870 validate" +quit' ,
559560 dockerImages: [],
560561
561562 // Docker port configuration table fields
Original file line number Diff line number Diff line change 307307 "cwdInfo" : " 实例运行的工作目录,可填绝对路径与相对路径" ,
308308 "cwdExample" : " 例如: D:/MyServers/0001" ,
309309 "updateCmd" : " 更新/安装程序文件命令" ,
310- "updateCmdInfo" : " 当用户执行更新/安装操作时,将会执行此命令,${mcsm_workspace} 代表工作目录,为空则不提供此功能" ,
311- "updateCmdExample" : " 例如: \" D:/SteamCMD/steamcmd.exe\" +login anonymous +force_install_dir \" ${mcsm_workspace}\" \" +app_update 380870 validate\" +quit" ,
310+ "updateCmdInfo" : " 当用户执行更新/安装操作时,将会执行此命令,{t} 代表工作目录,为空则不提供此功能" ,
312311 "ie" : " 终端输入编码" ,
313312 "ieInfo" : " 命令发送编码,重启实例生效" ,
314313 "oe" : " 终端输出编码" ,
You can’t perform that action at this time.
0 commit comments