user.js

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

commit 6973bb459c219a7e7cca385d67a5ace31417183f
parent 1571e067e752da31dcb1c420f49548a1ed67c095
Author: earthlng <earthlng@users.noreply.github.com>
Date:   Mon, 18 Dec 2017 16:33:21 +0100

FIND instead of MORE

to keep TABS intact
Diffstat:
Mupdater.bat | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/updater.bat b/updater.bat @@ -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', '[updated]!_myname!.new')" ) >nul 2>&1 IF EXIST "[updated]!_myname!.new" ( - TYPE "[updated]!_myname!.new" | MORE /E /P /T4 > "[updated]!_myname!.bat" + TYPE "[updated]!_myname!.new" | FIND /V "" > "[updated]!_myname!.bat" DEL /F "[updated]!_myname!.new" >nul START /min CMD /C "[updated]!_myname!.bat" !_myparams! EXIT /B