提交 a3e58aa1 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

implement task#7667

上级 f559a67f
......@@ -23,7 +23,7 @@
},
{
"id": "add_to_path_tips_win",
"translation": "方便在任何目录中执行,"
"translation": "您可运行%s将zd.exe加入$PATH环境变量,以方便在任何目录中执行。"
},
{
"id": "add_to_path_win",
......
......@@ -175,7 +175,7 @@ func addZdToPathWin(home string) {
if strings.Contains(pathVar, vari.ExeDir) { return }
cmd := fmt.Sprintf(`setx Path "%%Path%%;%s"`, vari.ExeDir)
logUtils.PrintToWithColor(i118Utils.I118Prt.Sprintf("add_to_path_tips_win", cmd), color.FgRed)
// TODO: fix the space issue
//out, err := shellUtils.ExeShell(cmd)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册