mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
12 lines
315 B
Batchfile
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"
|