mcopy/app/scripts/dev.sh

17 lines
244 B
Bash
Raw Normal View History

2021-02-22 18:03:41 +00:00
#!/bin/bash
set -e
2021-02-22 18:03:41 +00:00
# compile main process code
cd ..
npm run compile
cd ./app
# compile renderer process code
npm run compile
# compile LESS and pack javascript
npm run gulp
# start app with dev flag
./node_modules/.bin/electron main.js -d