6 lines
322 B
Bash
6 lines
322 B
Bash
#!/bin/bash
|
|
|
|
#package app
|
|
./node_modules/.bin/electron-packager . mcopy-app --overwrite --asar --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist
|
|
#build a .deb installer
|
|
./node_modules/.bin/electron-installer-debian --src ../dist/mcopy-app-linux-x64/ --arch amd64 --config build_linux.json |