mcopy/app/scripts/dev.sh

15 lines
236 B
Bash

#!/bin/bash
# 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