Skip to content

Commit

Permalink
fix: browser always false on the command line (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuruk-mm authored Oct 11, 2021
1 parent a93e0b8 commit 4ac701b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions electron/updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ const registerExecuteProcessEvent = (rendererPath: string, executablePath: strin

let path = rendererPath + getBranchName() + executablePath

let extraParams = ''

if (typeof config.openBrowser === 'boolean') {
extraParams = `${extraParams} --browser false`
}
let extraParams = ' --browser false'

console.log('Execute path: ', path + extraParams)

Expand Down

0 comments on commit 4ac701b

Please sign in to comment.