Files
TwitchDropsMiner/run_dev.bat
2022-12-07 09:21:40 +01:00

12 lines
315 B
Batchfile

@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"