|
@@ -4076,7 +4076,7 @@ Screen.Back();
|
|
|
Shell.Execute(SessionVar.Expand("%AppFolder%\\fix.bat"), "open", "", "", SW_HIDE, false);
|
|
|
-- 安装服务
|
|
|
--Shell.Execute(SessionVar.Expand("%AppFolder%\\install.bat"), "open", "", "", SW_HIDE, true);
|
|
|
-Shell.Execute("cmd", "open", "/c sc create FTYService binpath=\"" .. SessionVar.Expand("%AppFolder%\\Service") .. "\\FTYService.exe\" type=own start=auto displayname=\"Moka FTYService\"", "", SW_HIDE, true);
|
|
|
+Shell.Execute("cmd", "open", "/c sc create FTYService binpath= \"" .. SessionVar.Expand("%AppFolder%\\Service") .. "\\FTYService.exe\" type= own start=auto displayname= \"Moka FTYService\"", "", SW_HIDE, true);
|
|
|
-- 修改服务描述;
|
|
|
Shell.Execute("cmd", "open", "/c sc description FTYService \"茂佳科技抄写工具后台服务进程,用于所有后台事务处理\"", "", SW_HIDE, true);
|
|
|
-- 启动服务;
|