mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-11 03:13:34 +02:00
Some details I forgot
This commit is contained in:
parent
de5a312f82
commit
a2d5779f48
1 changed files with 1 additions and 6 deletions
|
@ -42,10 +42,6 @@ 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
|
||||||
SET "_myparams=!_myparams:-updatebatch=!"
|
|
||||||
SET "_myparams=!_myparams:-Updatebatch=!"
|
|
||||||
SET "_myparams=!_myparams:-UpdateBatch=!"
|
|
||||||
SET "_myparams=!_myparams:-UPDATEBATCH=!"
|
|
||||||
START CMD /C "!_myname!-updated.bat" !_myparams!
|
START CMD /C "!_myname!-updated.bat" !_myparams!
|
||||||
DEL /F "!_myname!.bat" >nul 2>&1
|
DEL /F "!_myname!.bat" >nul 2>&1
|
||||||
EXIT /B
|
EXIT /B
|
||||||
|
@ -115,8 +111,7 @@ IF NOT EXIST user.js (
|
||||||
:exitloop
|
:exitloop
|
||||||
IF !_line! GEQ 4 (
|
IF !_line! GEQ 4 (
|
||||||
IF /I NOT "!_name!"=="!_name:ghacks=X!" (
|
IF /I NOT "!_name!"=="!_name:ghacks=X!" (
|
||||||
SET _version=!_version:*version=version!
|
ECHO ghacks user.js !_version:*version=version!,!_date!
|
||||||
ECHO ghacks user.js !_version!,!_date!
|
|
||||||
) ELSE (
|
) ELSE (
|
||||||
ECHO Current user.js version not recognised.
|
ECHO Current user.js version not recognised.
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue