Commit graph

122 commits

Author SHA1 Message Date
Yuya Ochiai f8fadcb844 Show mainWindow gracefully
http://electron.atom.io/docs/api/browser-window#showing-window-gracefully
2017-01-16 21:25:25 +09:00
Yuya Ochiai 3bf41ca3e5 Add --data-dir to switch userData directory 2016-12-27 21:19:01 +09:00
Jonas Schwabe 4e6d0ee145 Fixes #378 2016-12-25 17:59:26 +01:00
Yuya Ochiai 48cb8a2bbf Suppress unnecessary window while install/uninstalling 2016-12-22 23:26:18 +09:00
Jonas Schwabe 89e3a52ef2 Add a fallback when the notification icon theme is not valid - the app did not start up successfully before 2016-12-11 18:00:10 +01:00
Yuya Ochiai f60d1fe0e4 Fix confused cursor in HiDPI
https://github.com/electron/electron/issues/7655#issuecomment-259688853
2016-12-06 22:09:54 +09:00
Yuya Ochiai 0a702e62da Fix eslint error 2016-11-30 20:37:39 +09:00
Yuya Ochiai ee06c09237 Rename src/resource to src/assets
- `dist/resources` was not included in linux packages.
- There were two "resources" directories.

Close #360
2016-11-10 22:31:10 +09:00
Yuya Ochiai 16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09:00
Yuya Ochiai 4ecbc14b06 Merge pull request #324 from itsmartin/fix-linux-tray-settings
Fix linux tray settings
2016-10-28 00:25:03 +09:00
Jonas Schwabe 08d0fff557 Remove cache on app update, fixes #342 2016-10-20 15:46:44 +02:00
Martin Gondermann 5baa424e1b Prettyfied code 2016-10-04 20:36:46 +02:00
Martin Gondermann 26689f0a51 Fix for #302
On Mac, a download in desktop app defaulted to Macintosh HD instead of the download folder
2016-10-04 20:34:52 +02:00
Martin f3f0f84db1 Fix the minimise to tray option never being enabled on Linux 2016-09-29 10:34:01 +01:00
Yuya Ochiai e28bcf6298 Merge pull request #296 from Razzeee/update-fix-autolaunch
Make sure our auto launch link is up do date
2016-09-21 21:05:24 +09:00
Kolja Lampe a8bfe709ba Make sure our auto launch link is up do date 2016-09-20 22:19:52 +02:00
Yuya Ochiai e8590e61d5 Fix ApplicationUserModelID in the start menu shortcut
The application expected "com.squirrel.mattermost.Mattermost"
due to electron-winstaller. But probably the package name,
"mattermost-desktop" was used when creating the shortcut.

This might affect the internal name of .deb package.

Close #287
2016-09-17 00:03:14 +09:00
Yuya Ochiai 7cfde1e379 Merge pull request #230 from Razzeee/hide-autostart
Hide on autostart
2016-09-14 01:04:01 +09:00
Kolja Lampe bc154f56a7 Hide on autostart
Closes #228
2016-09-12 22:06:08 +02:00
Kolja Lampe b59f501a82 Some minor codestyle improvements due to jshint 2016-08-30 15:28:15 +02:00
Yuya Ochiai 59a18d3da0 Merge pull request #263 from Razzeee/fix-toggle-option
Fix for window toggle on tray click
2016-08-29 21:55:03 +09:00
Kolja Lampe 4c2ae2ec4f Fix for window toggle on tray click 2016-08-28 21:50:18 +02:00
Yuya Ochiai 7883693d73 Fix the next top-level window doesn't get focus when closing the main window in Windows 2016-08-28 22:05:27 +09:00
Yuya Ochiai a0453b5865 Fix pixelated application icons for Windows
Added 20x20, 24x24 and 40x40 icons to icon.ico

Top left of the window: #98
Taskbar icon: #192
2016-08-23 20:20:52 +09:00
Yuya Ochiai f85337db65 Merge pull request #251 from Razzeee/fix-window-state
Improved window state handling
2016-08-22 22:39:29 +09:00
Yuya Ochiai 5d9c74e8bd Merge pull request #247 from jgis/master
Force single app instance

Close #236
2016-08-22 00:17:29 +09:00
Kolja Lampe 7429df05f5 Improved window state handling
Closes #249
2016-08-21 09:53:29 +02:00
Kolja Lampe f01b6a98f2 Change window title to the one that's set from the platform for the current channel 2016-08-19 20:39:12 +02:00
Julian Gisser 725b84ca64 Restore window properly when maximized 2016-08-17 08:58:13 +02:00
Julian Gisser 0978a4efb2 beautify code 2016-08-16 16:34:04 +02:00
Julian Gisser 293d7134b4 Force single app instance on windows
fixes issue #236
2016-08-16 10:28:21 +02:00
Kolja Lampe 932f756570 Use the default electron roles and their naming/implemenation
See: https://github.com/electron/electron/pull/6190/files
2016-08-08 18:58:12 +02:00
Tim Roes 32509ad8c2 Flash Window also without systray icon 2016-07-25 14:47:51 +02:00
Jonas Schwabe 6f5c907ca6 📝 Add changelog entry for taskbar flashing on linux 2016-07-23 14:08:29 +02:00
Jonas Schwabe 028d0ac7f8 implements #122, urgent hint on linux 2016-07-23 14:03:53 +02:00
Yuya Ochiai 722d9b731d Revert the icon usage for the main window
Close #192
Side effect #98
2016-07-13 01:08:57 +09:00
Yuya Ochiai 55ae88d4db Refactor click event of trayIcon 2016-07-06 22:32:40 +09:00
Yuya Ochiai 1f0961c94c Replace isHidden with isVisible()
There is an API, BrowserWindow.isVisible().
2016-07-06 22:32:40 +09:00
Yuya Ochiai ad7f63127f Add feature to hide window into system tray in Linux 2016-07-06 22:31:35 +09:00
Kolja Lampe 81b40c68b3 Replace generic "Open mattermost" by a menu entry for each team. 2016-07-05 20:57:39 +02:00
Yuya Ochiai 47f1f0cd8a Merge pull request #188 from Razzeee/fix-devtron-problems
Added event handles for potential problems devtron showed and log the…
2016-07-05 08:33:20 +09:00
Kolja Lampe bbea5e570e Added event handles for potential problems devtron showed and log these to console 2016-07-04 20:45:36 +02:00
Martin Gondermann 04cbec9a5d Makes the check for the tray icon a bit more lightweight 2016-07-03 23:04:36 +02:00
Martin Gondermann 3c0c448502 Fix behaviour, if "Show icon on menu bar" was previously not selected 2016-07-03 22:13:48 +02:00
Martin Gondermann 2b4ee5f0bc Readded the Option to hide the window on close for OSX 2016-07-03 16:12:04 +02:00
Martin Gondermann 2919b1af5f Removed option to minimize to tray, this is now the default behaviour 2016-07-03 14:58:48 +02:00
Martin Gondermann 865b08105a OSX: Added Option to hide Window from dock on close 2016-06-30 22:17:31 +02:00
Martin Gondermann 5f14fb7d0e Minimize to tray on Close only 2016-06-30 13:54:46 +02:00
Martin Gondermann 1f312e1f7f Add setting for "Toggle the window on tray icon click" 2016-06-28 15:07:29 +02:00
Martin Gondermann fa1ddcb623 prettified the code 2016-06-27 09:14:55 +02:00