2021-02-22 18:03:41 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-07-15 22:11:26 +00:00
|
|
|
set -e
|
|
|
|
|
2021-02-22 18:03:41 +00:00
|
|
|
# compile main process code
|
|
|
|
cd ..
|
|
|
|
npm run compile
|
2024-05-24 00:51:35 +00:00
|
|
|
|
2021-02-22 18:03:41 +00:00
|
|
|
cd ./app
|
|
|
|
|
|
|
|
# compile renderer process code
|
|
|
|
npm run compile
|
|
|
|
|
|
|
|
# compile LESS and pack javascript
|
|
|
|
npm run gulp
|
|
|
|
|
2024-05-24 03:36:51 +00:00
|
|
|
npm run test
|
|
|
|
|
2021-02-22 18:03:41 +00:00
|
|
|
# start app with dev flag
|
|
|
|
./node_modules/.bin/electron main.js -d
|