add socket.io

This commit is contained in:
2023-06-04 14:44:13 +02:00
parent 9fabb64161
commit 60ffb862dc
9 changed files with 494 additions and 60 deletions

View File

@@ -4,25 +4,32 @@ cd ..
# Make linux executable
pyinstaller imagevideoupscaler.spec
cp ./dist/imagevideoupscaler/* ./frontend/src/
cp -r ./dist/imagevideoupscaler/* ./frontend/
# wine python -m pyinstaller imagevideoupscaler.spec
# cp ./dist/imagevideoupscaler/* ./frontend/src/
# cp ./dist/imagevideoupscaler/* ./frontend/
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/
cp -r ./bin ./frontend/
cp -r ./config ./frontend/
cp ./imagevideoupscaler-cli.py ./frontend/
cp ./LICENSE ./frontend/
cp ./logo.png ./frontend/
# package for all platforms (includes GUI & CLI)
cd frontend
npm run electron:build -- --linux deb rpm --win nsis
print '\n\n==> Cleaning up\n\n'
rm -rf ./src/bin
rm -rf ./src/config
rm ./src/imagevideoupscaler-cli.py
rm ./src/LICENSE
printf '\n\n==> Cleaning up\n\n'
# rm -rf ./lib/bin
# rm -rf ./src/config
# rm -rf ./src/libdynload
# rm ./lib/image*
# rm ./lib/lib*
# rm ./lib/ld*
# rm ./lib/base_library.zip
# rm ./lib/imagevideoupscaler-cli.py
# rm ./lib/LICENSE
# Make windows executable
# TODO: create compiler