Update batch scripts

This commit is contained in:
DevilXD committed 2022-12-07 09:21:40 +01:00
1 parent fc55cbe450
commit a4b66e204e
2 files changed
+14 -1

No files matched your search

+3 -1
View File
@@ -1,3 +1,5 @@
@echo off @echo off
cls cls
%CD%/env/scripts/pyinstaller build.spec set dirpath=%~dp0
if "%dirpath:~-1%" == "\" set dirpath=%dirpath:~0,-1%
"%dirpath%/env/scripts/pyinstaller" build.spec
+11
View File
@@ -0,0 +1,11 @@
@echo off
cls
set dirpath=%~dp0
if "%dirpath:~-1%" == "\" set dirpath=%dirpath:~0,-1%
set /p "choice=Start with a console? (y/n) "
if "%choice%"=="y" (
set "exepath=%dirpath%\env\scripts\python"
) else (
set "exepath=%dirpath%\env\scripts\pythonw"
)
start "TwitchDropsMiner" "%exepath%" "%dirpath%\main.py"