rilascio per versione 1.42
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "v1.41",
|
"version": "v1.42",
|
||||||
"paths": {
|
"paths": {
|
||||||
"lastUsed": "defaults.json",
|
"lastUsed": "defaults.json",
|
||||||
"configurationPath": "./conf/",
|
"configurationPath": "./conf/",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "v1.3",
|
"version": "v1.42",
|
||||||
"paths": {
|
"paths": {
|
||||||
"lastUsed": "linux.json",
|
"lastUsed": "linux.json",
|
||||||
"configurationPath": "./conf/",
|
"configurationPath": "./conf/",
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"logFile": "D:\\Test\\bananaSPLIT.log",
|
"logFile": "./SPEx.log",
|
||||||
"logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s",
|
"logFormat": "%(asctime)s|%(levelname)-8s| %(message)-50s",
|
||||||
"logTimeFormat": "%m-%d %H:%M:%S"
|
"logTimeFormat": "%m-%d %H:%M:%S"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,16 +1,25 @@
|
|||||||
#!/bin/zsh
|
#!/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 \
|
pyinstaller --add-data="../.venv/lib/python3.7/site-packages/text_unidecode/data.bin":./text_unidecode \
|
||||||
--icon="../spex/logo.ico" \
|
--icon="../spex/logo.icns" \
|
||||||
|
--noconfirm \
|
||||||
--paths ./libbananasplit --paths ./UserInterface/compiledUI \
|
--paths ./libbananasplit --paths ./UserInterface/compiledUI \
|
||||||
--name=SPEx \
|
--name=SPEx \
|
||||||
--onefile \
|
--onefile \
|
||||||
--windowed -y \
|
--windowed \
|
||||||
|
--osx-bundle-identifier="12parsec.software.SPEx" \
|
||||||
../spex/guimain.py
|
../spex/guimain.py
|
||||||
|
|
||||||
echo "Copio configurazione"
|
echo "Copio configurazione"
|
||||||
|
cp -r ../conf ./dist/SPEx.app/Contents/MacOS/conf/
|
||||||
cp -r ../conf ./dist/
|
cp -r ../conf ./dist/
|
||||||
echo "Copio file binari"
|
echo "Copio file binari"
|
||||||
mv ./dist/ ../bin
|
mv ./dist/ ../bin/
|
||||||
echo "Rinuovo cartella build"
|
echo "Rinuovo cartella build"
|
||||||
rm -rf ./build
|
rm -rf ./build
|
||||||
|
echo "Firmo il codice"
|
||||||
|
cd ../bin/dist
|
||||||
|
#codesign --deep -s "12Parsec" SPEx.app
|
||||||
|
#codesign --deep -s "12Parsec" SPEx
|
||||||
@@ -622,8 +622,9 @@ if __name__ == '__main__':
|
|||||||
sys.excepthook = except_hook
|
sys.excepthook = except_hook
|
||||||
|
|
||||||
try:
|
try:
|
||||||
print(f"Running directory {os.environ['WORKSPACELOC']}")
|
#print(f"Running directory {os.environ['WORKSPACELOC']}")
|
||||||
print(f"Pythonpath: {os.environ['PYTHONPATH']}")
|
#print(f"Pythonpath: {os.environ['PYTHONPATH']}")
|
||||||
|
print("LAUNCHDIR:", os.getcwd())
|
||||||
LOGGER = fancyLogger(filepath=r"./conf/loggerconf.json", fileLog=False)
|
LOGGER = fancyLogger(filepath=r"./conf/loggerconf.json", fileLog=False)
|
||||||
conf = bananaCONF(workdir=r"./conf", logger=LOGGER)
|
conf = bananaCONF(workdir=r"./conf", logger=LOGGER)
|
||||||
conf.open()
|
conf.open()
|
||||||
|
|||||||
Reference in New Issue
Block a user