mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-06-06 12:29:36 +00:00
Update batch scripts
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
@echo off
|
||||
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
run_dev.bat
Normal file
11
run_dev.bat
Normal 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"
|
||||
Reference in New Issue
Block a user