Skip to content

Commit

Permalink
Hide on autostart
Browse files Browse the repository at this point in the history
Closes #228
  • Loading branch information
razzeee committed Aug 16, 2016
1 parent 1d851fd commit 563bcc3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/browser/settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const ListGroupItem = ReactBootstrap.ListGroupItem;
const Glyphicon = ReactBootstrap.Glyphicon;

var appLauncher = new AutoLaunch({
name: 'Mattermost'
name: 'Mattermost',
isHidden: true
});

function backToIndex() {
Expand Down
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 @@ -14,7 +14,7 @@
"electron-connect": "^0.3.3"
},
"dependencies": {
"auto-launch": "^2.0.1",
"auto-launch": "^3.0.0",
"bootstrap": "^3.3.6",
"electron-squirrel-startup": "^1.0.0",
"os-locale": "^1.4.0",
Expand Down

0 comments on commit 563bcc3

Please sign in to comment.