mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-20 00:51:16 -08:00
15 lines
615 B
Batchfile
15 lines
615 B
Batchfile
:: File paths will all need to be updated to your setup
|
|
|
|
set babblepath=C:\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
|