main: add --url-options switch
This commit is contained in:
parent
573e22c83d
commit
82e8aad677
2 changed files with 8 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ var start = function(readyApp) {
|
|||
|
||||
var app = require('./electron-app')
|
||||
var address = typeof settings.read('guiOnly')=='string'? 'http://' + settings.read('guiOnly') : settings.read('appAddresses')[0]
|
||||
address += settings.read('urlOptions')
|
||||
if (app.isReady()) {
|
||||
var win = require('./electron-window')({address:address, shortcuts:true})
|
||||
app.on('before-quit',()=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue