user.js

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 51d98fac091434ff9db33fd87ffa102a7af07513
parent d71321027b78cbb42aa765db7a055d51f8b010d0
Author: earthlng <earthlng@users.noreply.github.com>
Date:   Tue, 28 Nov 2017 18:27:55 +0100

last attempt

if this doesn't work I'll remove the damn -updatebatch part for good
Diffstat:
Mupdater.bat | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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 (