rilascio per versione 1.42

This commit is contained in:
Emanuele
2020-10-23 21:23:41 +02:00
parent b97b9f9855
commit 977feb6722
6 changed files with 20 additions and 10 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -1,5 +1,5 @@
{
"version": "v1.41",
"version": "v1.42",
"paths": {
"lastUsed": "defaults.json",
"configurationPath": "./conf/",

View File

@@ -1,5 +1,5 @@
{
"version": "v1.3",
"version": "v1.42",
"paths": {
"lastUsed": "linux.json",
"configurationPath": "./conf/",

View File

@@ -1,5 +1,5 @@
{
"logFile": "D:\\Test\\bananaSPLIT.log",
"logFile": "./SPEx.log",
"logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s",
"logTimeFormat": "%m-%d %H:%M:%S"
}

View File

@@ -1,16 +1,25 @@
#!/bin/zsh
echo "Rimuovo i file precedenti"
rm -rf ../bin/*
pyinstaller --add-data="../.venv/lib/python3.8/site-packages/text_unidecode/data.bin":./text_unidecode \
--icon="../spex/logo.ico" \
pyinstaller --add-data="../.venv/lib/python3.7/site-packages/text_unidecode/data.bin":./text_unidecode \
--icon="../spex/logo.icns" \
--noconfirm \
--paths ./libbananasplit --paths ./UserInterface/compiledUI \
--name=SPEx \
--name=SPEx \
--onefile \
--windowed -y \
--windowed \
--osx-bundle-identifier="12parsec.software.SPEx" \
../spex/guimain.py
echo "Copio configurazione"
cp -r ../conf ./dist/SPEx.app/Contents/MacOS/conf/
cp -r ../conf ./dist/
echo "Copio file binari"
mv ./dist/ ../bin
mv ./dist/ ../bin/
echo "Rinuovo cartella build"
rm -rf ./build
echo "Firmo il codice"
cd ../bin/dist
#codesign --deep -s "12Parsec" SPEx.app
#codesign --deep -s "12Parsec" SPEx

View File

@@ -622,8 +622,9 @@ if __name__ == '__main__':
sys.excepthook = except_hook
try:
print(f"Running directory {os.environ['WORKSPACELOC']}")
print(f"Pythonpath: {os.environ['PYTHONPATH']}")
#print(f"Running directory {os.environ['WORKSPACELOC']}")
#print(f"Pythonpath: {os.environ['PYTHONPATH']}")
print("LAUNCHDIR:", os.getcwd())
LOGGER = fancyLogger(filepath=r"./conf/loggerconf.json", fileLog=False)
conf = bananaCONF(workdir=r"./conf", logger=LOGGER)
conf.open()