rename project, fix bug & optional output path

This commit is contained in:
2023-06-05 08:24:25 +02:00
parent c977c9e754
commit bf30e40759
21 changed files with 82 additions and 78 deletions

View File

@@ -3,14 +3,14 @@
cd ..
# Compile for Linux
pyinstaller imagevideoupscaler.spec
cp -rv ./dist/imagevideoupscaler/* ./frontend/
pyinstaller smuL-cli.spec
cp -rv ./dist/smuL-cli/* ./frontend/
# Copy python files
cp -rv ./bin ./frontend/
cp -rv ./config ./frontend/
cp -v ./imagevideoupscaler-cli.py ./frontend/
cp -v ./smuL-cli.py ./frontend/
cp -v ./LICENSE ./frontend/
cp -v ./logo.png ./frontend/
@@ -33,9 +33,9 @@ rm -rf ./dist
printf '\n\n==> Finished Linux packaging, preparing Windows\n\n'
# Compile for Windows
wine python -m PyInstaller imagevideoupscaler.spec
cp -rv ./dist/imagevideoupscaler/* ./frontend/
cp -v ./imagevideoupscaler-cli.py ./frontend/
wine python -m PyInstaller smuL-cli.spec
cp -rv ./dist/smuL-cli/* ./frontend/
cp -v ./smuL-cli.py ./frontend/
# package for Windows (includes GUI & CLI)
cd frontend
@@ -44,7 +44,7 @@ npm run electron:build -- --win nsis
rm -rf ./bin
rm -rf ./config
rm -rf ./lib-dynload
rm ./image*
rm ./smuL*
rm ./_*
rm ./py*
rm ./lib*

View File

@@ -3,14 +3,14 @@
cd ..
# Compile for Linux
pyinstaller imagevideoupscaler.spec
cp -r ./dist/imagevideoupscaler/* ./frontend/
pyinstaller smuL-cli.spec
cp -r ./dist/smuL-cli/* ./frontend/
# Copy python files
cp -r ./bin ./frontend/
cp -r ./config ./frontend/
cp ./imagevideoupscaler-cli.py ./frontend/
cp ./smuL-cli.py ./frontend/
cp ./LICENSE ./frontend/
cp ./logo.png ./frontend/
@@ -22,11 +22,10 @@ npm run electron:build -- --linux deb rpm
rm -rf ./bin
rm -rf ./config
rm -rf ./libdynload
rm ./image*
rm ./smuL*
rm ./lib*
rm ./ld*
rm ./base_library.zip
rm ./imagevideoupscaler-cli.py
rm ./LICENSE
cd ..

View File

@@ -3,13 +3,13 @@
cd ..
# Compile for Windows
wine python -m PyInstaller imagevideoupscaler.spec
cp -r ./dist/imagevideoupscaler/* ./frontend/
wine python -m PyInstaller smuL-cli.spec
cp -r ./dist/smuL-cli/* ./frontend/
# Copy python files
cp -rv ./bin ./frontend/
cp -rv ./config ./frontend/
cp -v ./imagevideoupscaler-cli.py ./frontend/
cp -v ./smuL-cli.py ./frontend/
cp -v ./LICENSE ./frontend/
cp -v ./logo.png ./frontend/
@@ -20,7 +20,7 @@ npm run electron:build -- --win nsis
rm -rf ./bin
rm -rf ./config
rm -rf ./lib-dynload
rm ./image*
rm ./smuL*
rm ./_*
rm ./py*
rm ./lib*

View File

@@ -3,13 +3,13 @@
cd ..
# Compile for Linux
pyinstaller imagevideoupscaler.spec
cp -r ./dist/imagevideoupscaler/* ./frontend/
pyinstaller smuL-cli.spec
cp -r ./dist/smuL-cli/* ./frontend/
# Copy python files
cp -r ./bin ./frontend/
cp -r ./config ./frontend/
cp ./imagevideoupscaler-cli.py ./frontend/
cp ./smuL-cli.py ./frontend/
cp ./LICENSE ./frontend/
cp ./logo.png ./frontend/

View File

@@ -6,7 +6,7 @@ rm -rf ./bin
rm -rf ./config
rm -rf ./lib-dynload
rm -rf ./libdynload
rm ./image*
rm ./smuL*
rm ./lib*
rm ./ld*
rm ./base_library.zip