Files
ProjectBabble/scripts/build_app_and_installer.bat
Rames The Generic 260c79656f Update Build Script
Made it so we no longer have to manually move the model files to maintain the file structure.
2024-01-06 18:52:55 -05:00

15 lines
615 B
Batchfile

:: File paths will all need to be updated to your setup
set babblepath=X:\Documents\GitHub\ProjectBabble
set innopath="C:\Program Files (x86)\Inno Setup 6"
cd /d %babblepath%\BabbleApp
pyinstaller babbleapp.spec --noconfirm
:: Copy the Models directory + content into dist because I can't get pyinstaller to not flatten the file structure
cd /d %babblepath%\BabbleApp\dist\Babble_App\Models
robocopy %babblepath%\BabbleApp\Models %babblepath%\BabbleApp\dist\Babble_App\Models\ /E
cd %babblepath%\BabbleApp\dist\Babble_App\Models
rmdir /s /q dev
start /D %innopath% cmd /k ISCC %babblepath%\scripts\installer.iss