mirror of https://github.com/quasar/Quasar.git
Reduced sleep time in uninstall/update batch
This commit is contained in:
parent
5944925c3e
commit
0327f1cff1
|
@ -55,12 +55,12 @@ namespace xClient.Core.Helper
|
||||||
string uninstallBatch = (isFileHidden)
|
string uninstallBatch = (isFileHidden)
|
||||||
? "@echo off" + "\n" +
|
? "@echo off" + "\n" +
|
||||||
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
||||||
"ping -n 20 localhost > nul" + "\n" +
|
"ping -n 10 localhost > nul" + "\n" +
|
||||||
"del /A:H " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"del /A:H " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"del " + "\"" + batchFile + "\""
|
"del " + "\"" + batchFile + "\""
|
||||||
: "@echo off" + "\n" +
|
: "@echo off" + "\n" +
|
||||||
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
||||||
"ping -n 20 localhost > nul" + "\n" +
|
"ping -n 10 localhost > nul" + "\n" +
|
||||||
"del " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"del " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"del " + "\"" + batchFile + "\""
|
"del " + "\"" + batchFile + "\""
|
||||||
;
|
;
|
||||||
|
@ -83,14 +83,14 @@ namespace xClient.Core.Helper
|
||||||
string uninstallBatch = (isFileHidden)
|
string uninstallBatch = (isFileHidden)
|
||||||
? "@echo off" + "\n" +
|
? "@echo off" + "\n" +
|
||||||
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
||||||
"ping -n 20 localhost > nul" + "\n" +
|
"ping -n 10 localhost > nul" + "\n" +
|
||||||
"del /A:H " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"del /A:H " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"move " + "\"" + newFilePath + "\"" + " " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"move " + "\"" + newFilePath + "\"" + " " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"start \"\" " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"start \"\" " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"del " + "\"" + batchFile + "\""
|
"del " + "\"" + batchFile + "\""
|
||||||
: "@echo off" + "\n" +
|
: "@echo off" + "\n" +
|
||||||
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
"echo DONT CLOSE THIS WINDOW!" + "\n" +
|
||||||
"ping -n 20 localhost > nul" + "\n" +
|
"ping -n 10 localhost > nul" + "\n" +
|
||||||
"del " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"del " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"move " + "\"" + newFilePath + "\"" + " " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"move " + "\"" + newFilePath + "\"" + " " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
"start \"\" " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
"start \"\" " + "\"" + ClientData.CurrentPath + "\"" + "\n" +
|
||||||
|
|
Loading…
Reference in New Issue