Skip to content

Commit

Permalink
Hide on autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Aug 2, 2016
1 parent 3e2d6be commit 0c7eb24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ if (process.platform === 'win32') {
if (cmd === '--squirrel-uninstall') {
var AutoLaunch = require('auto-launch');
var appLauncher = new AutoLaunch({
name: 'Mattermost'
name: 'Mattermost',
isHidden: true
});
appLauncher.isEnabled().then(function(enabled) {
if (enabled)
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"electron-connect": "^0.3.3"
},
"dependencies": {
"auto-launch": "^2.0.1",
"auto-launch": "^2.1.0",
"bootstrap": "^3.3.6",
"electron-squirrel-startup": "^1.0.0",
"os-locale": "^1.4.0",
Expand Down

0 comments on commit 0c7eb24

Please sign in to comment.