Skip to content

Commit

Permalink
jackd248#33: removed AutoLaunch path option
Browse files Browse the repository at this point in the history
As the AutoLaunch docs mention, the path option is optional for electron apps and it works great (at least on Linux).
  • Loading branch information
Basster committed Feb 17, 2017
1 parent 3239780 commit d59b5c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,8 @@ mb.on('show', function show () {
mb.window.webContents.send('show')
})

const appPath = app.getPath('exe').split('.app/Content')[0] + '.app'

console.log(appPath)

const appLauncher = new AutoLaunch({
name: 'temps',
path: appPath,
isHidden: true
})

Expand Down

0 comments on commit d59b5c0

Please sign in to comment.