added app.isDev variable, privacy is now disabled by default unless dev is enabled
This commit is contained in:
parent
82301cde95
commit
a4da82f95f
3 changed files with 12 additions and 2 deletions
3
index.js
3
index.js
|
@ -36,6 +36,9 @@ app.commandLine.appendSwitch('js-flags', '--max-old-space-size=1024')
|
|||
app.on('ready', () => {
|
||||
if (app.isQuiting) { app.quit(); return; }
|
||||
console.log('[Cider] Application is Ready. Creating Window.')
|
||||
if(!app.isPackaged) {
|
||||
console.info('[Cider] Running in development mode.')
|
||||
}
|
||||
CreateWindow()
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue