update package script
This commit is contained in:
@@ -3,16 +3,19 @@
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
# Make linux executable
|
# Make linux executable
|
||||||
pyinstaller imagevideoupscaler-cli.spec
|
pyinstaller imagevideoupscaler.spec
|
||||||
mv -r ./dist/imagevideupscaler ./dist/imagevideupscaler-linux
|
cp ./dist/imagevideoupscaler/* ./frontend/src/
|
||||||
cp -r ./bin ./dist/imagevideupscaler-linux
|
|
||||||
cp -r ./config ./dist/imagevideupscaler-linux
|
|
||||||
cp ./imagevideupscaler-cli.py ./dist/imagevideupscaler-linux
|
|
||||||
cp ./LICENSE ./dist/imagevideupscaler-linux
|
|
||||||
cp ./logo.png ./dist/imagevideupscaler-linux
|
|
||||||
|
|
||||||
# package rpm & deb
|
# wine python -m pyinstaller imagevideoupscaler.spec
|
||||||
cp ./dist/imagevideoupscaler-linux/* ./frontend/src/
|
# 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
|
cd frontend
|
||||||
npm run electron:build -- --linux deb rpm --win nsis
|
npm run electron:build -- --linux deb rpm --win nsis
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user