From 0327f1cff1cf230d834195c011410c151cf1243b Mon Sep 17 00:00:00 2001 From: MaxXor Date: Sat, 5 Sep 2015 22:30:07 +0200 Subject: [PATCH] Reduced sleep time in uninstall/update batch --- Client/Core/Helper/FileHelper.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Client/Core/Helper/FileHelper.cs b/Client/Core/Helper/FileHelper.cs index 0651e8ef..e5d7909e 100644 --- a/Client/Core/Helper/FileHelper.cs +++ b/Client/Core/Helper/FileHelper.cs @@ -55,12 +55,12 @@ namespace xClient.Core.Helper string uninstallBatch = (isFileHidden) ? "@echo off" + "\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 " + "\"" + batchFile + "\"" : "@echo off" + "\n" + "echo DONT CLOSE THIS WINDOW!" + "\n" + - "ping -n 20 localhost > nul" + "\n" + + "ping -n 10 localhost > nul" + "\n" + "del " + "\"" + ClientData.CurrentPath + "\"" + "\n" + "del " + "\"" + batchFile + "\"" ; @@ -83,14 +83,14 @@ namespace xClient.Core.Helper string uninstallBatch = (isFileHidden) ? "@echo off" + "\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" + "move " + "\"" + newFilePath + "\"" + " " + "\"" + ClientData.CurrentPath + "\"" + "\n" + "start \"\" " + "\"" + ClientData.CurrentPath + "\"" + "\n" + "del " + "\"" + batchFile + "\"" : "@echo off" + "\n" + "echo DONT CLOSE THIS WINDOW!" + "\n" + - "ping -n 20 localhost > nul" + "\n" + + "ping -n 10 localhost > nul" + "\n" + "del " + "\"" + ClientData.CurrentPath + "\"" + "\n" + "move " + "\"" + newFilePath + "\"" + " " + "\"" + ClientData.CurrentPath + "\"" + "\n" + "start \"\" " + "\"" + ClientData.CurrentPath + "\"" + "\n" +