using env vars for some comfy defaults for development

This commit is contained in:
shockrah
2021-02-12 15:50:05 -08:00
parent 4323156242
commit 6904e8eb26
3 changed files with 11 additions and 2 deletions

View File

@@ -6,6 +6,9 @@
[[ -z "$1" ]] && echo Options: run \| build && exit 0
run() {
# Required to tests against the self certs we use in testing envs
export NODE_TLS_REJECT_UNAUTHORIZED=0
export DEV_ENV=true
./node_modules/electron/dist/electron main.js $@
}