19 lines
417 B
Batchfile
19 lines
417 B
Batchfile
cd venv/Scripts
|
|
call activate
|
|
cd ../../
|
|
|
|
|
|
IF EXIST "dist" (
|
|
echo "Directory exist."
|
|
) else (
|
|
md dist
|
|
echo "Directory exist created"
|
|
)
|
|
|
|
copy main_pro.py .\dist\
|
|
|
|
copy config.toml .\dist\config.toml
|
|
|
|
call nuitka --mingw64 --show-progress --product-version=1.0.0 --standalone --output-dir=dist --onefile --windows-icon-from-ico=icon.ico --remove-output --output-filename=start.exe main_pro.py
|
|
|
|
pause |