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

@@ -30,6 +30,7 @@ if not exist out yarn compile
set ELECTRON_RUN_AS_NODE=1
set NODE_ENV=development
set VSCODE_DEV=1
set ELECTRON_ENABLE_SECURITY_WARNINGS=1
REM set ELECTRON_DEFAULT_ERROR_MODE=1 TODO@ben to investigate if this helps with builds reporting stacks if renderer crashes
set ELECTRON_ENABLE_LOGGING=1
set ELECTRON_ENABLE_STACK_DUMPING=1