mcopy/app/scripts/dev.sh

17 lines
244 B
Bash

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