From 563bcc3bcdb21bc25010161255a95859e673c4ae Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Tue, 2 Aug 2016 21:29:24 +0200 Subject: [PATCH] Hide on autostart Closes #228 --- src/browser/settings.jsx | 3 ++- src/main.js | 3 ++- src/package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/browser/settings.jsx b/src/browser/settings.jsx index 62651296284..68bc56f7da9 100644 --- a/src/browser/settings.jsx +++ b/src/browser/settings.jsx @@ -22,7 +22,8 @@ const ListGroupItem = ReactBootstrap.ListGroupItem; const Glyphicon = ReactBootstrap.Glyphicon; var appLauncher = new AutoLaunch({ - name: 'Mattermost' + name: 'Mattermost', + isHidden: true }); function backToIndex() { diff --git a/src/main.js b/src/main.js index b455590934a..3f9b3f52094 100644 --- a/src/main.js +++ b/src/main.js @@ -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) diff --git a/src/package.json b/src/package.json index 1cf17d04531..01e24f48fb4 100644 --- a/src/package.json +++ b/src/package.json @@ -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",