aggiunto script per exe windows
This commit is contained in:
15
SPEx/scripts/create_SPEx.bat
Normal file
15
SPEx/scripts/create_SPEx.bat
Normal file
@@ -0,0 +1,15 @@
|
||||
echo off
|
||||
pyinstaller.exe --add-data="..\.venv\Lib\site-packages\text_unidecode\data.bin";.\text_unidecode ^
|
||||
--icon="..\spex\logo.ico" ^
|
||||
--paths ./libbananasplit --paths ./UserInterface/compiledUI ^
|
||||
--name=SPEx.exe ^
|
||||
--onefile ^
|
||||
--windowed -y ^
|
||||
..\spex\guimain.py | rem
|
||||
echo "Copio i file di configurazione..."
|
||||
robocopy /E ..\conf .\dist\conf
|
||||
echo "Sposto la cartella con l'exe"
|
||||
robocopy /E /MOVE .\dist ..\bin\
|
||||
echo "Rimuovo la cartella di build"
|
||||
rmdir /s /q .\build .\dist
|
||||
echo on
|
||||
Reference in New Issue
Block a user