The trick on linux is to not build as an asar. Go figure.

This commit is contained in:
mmcwilliams 2020-04-24 22:17:10 -04:00
parent cc41b75130
commit c15cd512ae
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
#package app #package app
./node_modules/.bin/electron-packager . mcopy-app --overwrite --asar --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist ./node_modules/.bin/electron-packager . mcopy-app --overwrite --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist
#build a .deb installer #build a .deb installer
./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-x64/ --arch amd64 --config ./scripts/build_linux.json ./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-x64/ --arch amd64 --config ./scripts/build_linux.json