|
|
@ -156,7 +156,7 @@ function createWindow () { |
|
|
|
|
|
|
|
|
|
|
|
tray.create(mainWindow, config); |
|
|
|
tray.create(mainWindow, config); |
|
|
|
|
|
|
|
|
|
|
|
if ( fs.existsSync(path.resolve(path.dirname(process.execPath), '..', 'Update.exe')) ) updater.initialize(mainWindow); |
|
|
|
if ( fs.existsSync(path.resolve(path.dirname(process.execPath), '..', 'Update.exe')) && process.argv.indexOf('--without-update') === -1 ) updater.initialize(mainWindow); |
|
|
|
|
|
|
|
|
|
|
|
// Open links in default browser
|
|
|
|
// Open links in default browser
|
|
|
|
mainWindow.webContents.on('new-window', function(e, url, frameName, disposition, options) { |
|
|
|
mainWindow.webContents.on('new-window', function(e, url, frameName, disposition, options) { |
|
|
|