mirror of
https://github.com/arkenfox/user.js.git
synced 2024-10-01 01:35:52 -04:00
updater.bat v3.0 the real deal
hopefully :fingers_crossed:
This commit is contained in:
parent
5b931b06e8
commit
ed4c9202b9
@ -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
|
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" (
|
IF EXIST "!_myname!-updated.bat" (
|
||||||
CLS
|
CLS
|
||||||
START CMD /C "!_myname!-updated.bat" !_myparams!
|
START CMD /C "!_myname!-updated.bat" !_myparams:-updatebatch=!
|
||||||
DEL /F "!_myname!.bat" 2>nul
|
DEL /F "!_myname!.bat" 2>nul
|
||||||
EXIT /B
|
EXIT /B
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
Loading…
Reference in New Issue
Block a user