Skip to content

Commit

Permalink
Added check for the presence of the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePirate42 committed Nov 23, 2020
1 parent af4b571 commit 0da5227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions youtube-pu/youtube-pu.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

:: Settings loading

if NOT exist %~dp0youtube-pu.conf echo youtube-pu.conf not found! & goto :end
setlocal EnableDelayedExpansion
for /F "tokens=*" %%g in (%~dp0youtube-pu.conf) do (%%g)
endlocal & set "_buildpath=%_buildpath%" & set "_default_youtube-dl_path=%_default_youtube-dl_path%" & set "_enable_cmdow=%_enable_cmdow%" & set "_update_pyinstaller=%_update_pyinstaller%" & set "_pull_patches=%_pull_patches%"
Expand Down

0 comments on commit 0da5227

Please sign in to comment.