[Bootstrap] Add env variable to halt starting after splash for testing
This commit is contained in:
parent
6e0e8e03a2
commit
a6cdcc8f5b
1 changed files with 5 additions and 0 deletions
5
src/bootstrap.js
vendored
5
src/bootstrap.js
vendored
|
@ -54,6 +54,11 @@ const startCore = () => {
|
|||
|
||||
const startUpdate = () => {
|
||||
appUpdater.update(false, () => {
|
||||
if (process.env.OPENASAR_NOSTART) {
|
||||
log('Bootstrap', 'Found nostart variable, halting bootstrap');
|
||||
return;
|
||||
}
|
||||
|
||||
startCore();
|
||||
}, () => {
|
||||
log('Bootstrap', 'Setting main window visible');
|
||||
|
|
Loading…
Reference in a new issue