Files
SimpleMediaUpscalerLite/packaging/package.sh
2023-06-04 11:16:46 +02:00

23 lines
562 B
Bash

#! /bin/bash
cd ..
# Make linux executable
pyinstaller imagevideoupscaler.spec
cp ./dist/imagevideoupscaler/* ./frontend/src/
# wine python -m pyinstaller imagevideoupscaler.spec
# cp ./dist/imagevideoupscaler/* ./frontend/src/
cp -r ./bin ./frontend/src/
cp -r ./config ./frontend/src/
cp ./imagevideoupscaler-cli.py ./frontend/src/
cp ./LICENSE ./frontend/src/
cp ./logo.png ./frontend/src/
# package for all platforms (includes GUI & CLI)
cd frontend
npm run electron:build -- --linux deb rpm --win nsis
# Make windows executable
# TODO: create compiler