MOVE support_files\OTA.bat OTA.bat > %log% 2 >&1 IF " %script-new-md5% " NEQ " %script-md5% " (ĭel support_files\Script-new-MD5.txt > %log% 2 >&1 ::Checking to see if there's a new version.įOR /F "tokens=1 delims= " %%a in ( 'support_files\md5sums ThunderboltTool.bat' ) do ( set script-md5 = %%a )Įcho Server MD5 is: " %script-new-md5% " > %log% Support_files\wget -quiet -O support_files\Script-server-MD5.txt IF EXIST support_files\Script-server-MD5.txt (del support_files\Script-server-MD5.txt) IF EXIST OTA.bat (MOVE OTA.bat support_files\OTA.bat) > NUL IF EXIST support_files\Script-MD5.txt (del support_files\Script-MD5.txt) ::GOTO PROGRAM rem ADD :: FOR RELEASE VERSIONS IF EXIST adbwinusbapi.dll (del adbwinusbapi.dll) IF EXIST adbwinapi.dll (del adbwinapi.dll) IF EXIST ThunderboltTool.exe (del ThunderboltTool.exe) IF NOT EXIST support_files\download (mkdir support_files\download) IF NOT EXIST support_files\RAN1 (start README.txt)Įcho Program ran for first time. ::Making sure that we extracted correctly ::Because God knows I couldn't have solved it. ::He solved a tricky log file naming issue for us. Set buildtime =November 24 2012, 2:13 AM EST :: You should have received a copy of the GNU General Public License :: GNU General Public License for more details. :: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. :: but WITHOUT ANY WARRANTY without even the implied warranty of :: This program is distributed in the hope that it will be useful,
4ext recovery updater download software#
:: the Free Software Foundation, either version 3 of the License, or
:: it under the terms of the GNU General Public License as published by :: This program is free software: you can redistribute it and/or modify