electron - enable ELECTRON_ENABLE_SECURITY_WARNINGS when running out of sources

This commit is contained in:
Benjamin Pasero
2020-04-20 08:34:51 +02:00
parent 7555e1bd58
commit f622c438e4
4 changed files with 4 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ function code() {
ELECTRON_RUN_AS_NODE=1 \
NODE_ENV=development \
VSCODE_DEV=1 \
ELECTRON_ENABLE_SECURITY_WARNINGS=1 \
ELECTRON_ENABLE_LOGGING=1 \
ELECTRON_ENABLE_STACK_DUMPING=1 \
"$CODE" --inspect=5874 "$ROOT/out/cli.js" . "$@"