mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
19 lines
504 B
Batchfile
19 lines
504 B
Batchfile
@echo off
|
|
cls
|
|
set dirpath=%~dp0
|
|
if "%dirpath:~-1%" == "\" set dirpath=%dirpath:~0,-1%
|
|
|
|
if not exist "%dirpath%\env" (
|
|
echo:
|
|
echo No virtual environment found! Run setup_env.bat to set it up first.
|
|
echo:
|
|
pause
|
|
exit
|
|
)
|
|
|
|
if not exist "%dirpath%\env\scripts\pyinstaller.exe" (
|
|
"%dirpath%\env\scripts\pip" install pyinstaller
|
|
"%dirpath%\env\scripts\python" "%dirpath%\env\scripts\pywin32_postinstall.py" -install -silent
|
|
)
|
|
"%dirpath%/env/scripts/pyinstaller" "%dirpath%\build.spec"
|