updater.bat v3.0 the real deal

hopefully :fingers_crossed:
This commit is contained in:
earthlng 2017-11-28 18:15:14 +01:00 committed by GitHub
parent 5b931b06e8
commit ed4c9202b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ 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!
START CMD /C "!_myname!-updated.bat" !_myparams:-updatebatch=!
DEL /F "!_myname!.bat" 2>nul
EXIT /B
) ELSE (