Skip to content

Commit

Permalink
Imagine needing 2 hotfixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri010 authored Mar 10, 2023
1 parent 25dddb8 commit f1153b0
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions updater.bat
Original file line number Diff line number Diff line change
Expand Up @@ -69,19 +69,13 @@ echo.
echo Log: ====================================================================================================
echo.
curl -0 -L https://raw.githubusercontent.com/Yuri010/Youtube-DL-Helper/main/ytdl-helper.bat -o ytdl-helper-new.bat
curl -0 -L https://raw.githubusercontent.com/Yuri010/Youtube-DL-Helper/main/Updater.bat -o updater-new.bat
curl -0 -L https://raw.githubusercontent.com/Yuri010/Youtube-DL-Helper/main/updater.bat -o updater-new.bat
echo.
echo =========================================================================================================
echo Updating to version %gver% over %lver%...
move ytdl-helper.bat ytdl-helper-old.bak
move ytdl-helper-new.bat ytdl-helper.bat
move updater.bat updater-old.bak
move updater-new.bat updater.bat
cls
echo Updating to version %gver% over %lver%... Done!
echo.
echo Update success!
timeout /t 3 /nobreak > nul
timeout 1 > nul
start "" "cmd /c move updater-new.bat updater.bat"
exit

:: ==================================================FFMPEG==================================================
Expand Down

0 comments on commit f1153b0

Please sign in to comment.