Skip to content

Commit

Permalink
Create Windows shortcut at startup menu by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
ClumsyLee committed Oct 16, 2015
1 parent 6351f8f commit b13a48b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auto_update.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ if (process.platform == 'darwin') {
var target = path.basename(process.execPath);
console.log('Creating shortcut.');
executeSquirrelCommand(['--createShortcut', target,
'--shortcut-locations', 'Desktop,StartMenu'],
'--shortcut-locations', 'Desktop,StartMenu,Startup'],
done);
}

function uninstall(done) {
var target = path.basename(process.execPath);
console.log('Removing shortcut.');
executeSquirrelCommand(['--removeShortcut', target,
'--shortcut-locations', 'Desktop,StartMenu'],
'--shortcut-locations', 'Desktop,StartMenu,Startup'],
done);
}

Expand Down

0 comments on commit b13a48b

Please sign in to comment.