From 51d98fac091434ff9db33fd87ffa102a7af07513 Mon Sep 17 00:00:00 2001 From: earthlng Date: Tue, 28 Nov 2017 18:27:55 +0100 Subject: [PATCH] last attempt if this doesn't work I'll remove the damn -updatebatch part for good --- updater.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/updater.bat b/updater.bat index 8e2703c..8a4993d 100644 --- a/updater.bat +++ b/updater.bat @@ -43,7 +43,8 @@ IF DEFINED _updateb ( powershell -Command "(New-Object Net.WebClient).DownloadFile('https://github.com/ghacksuserjs/ghacks-user.js/raw/master/updater.bat', '!_myname!-updated.bat')" >nul IF EXIST "!_myname!-updated.bat" ( CLS - START CMD /C "!_myname!-updated.bat" !_myparams:-updatebatch=! + SET "_myparams=!_myparams:-updatebatch=!" + START CMD /C "!_myname!-updated.bat" !_myparams! DEL /F "!_myname!.bat" 2>nul EXIT /B ) ELSE (