Releases: JRBlaze/KickLiveEmailNotifier
v0.1.5
Added startup-hidden state tracking (startHidden) and initialized it during app boot so the app can decide whether to show the main window at launch. This now detects login-item launches using both a --hidden arg and Electron login-item flags (wasOpenedAtLogin / openedAtLogin).
Changed the window ready-to-show behavior so it does not auto-open when launched at startup; it stays in tray/background instead and only syncs dock visibility until manually opened.
Updated login startup registration to request hidden launch behavior and include --hidden startup args when “launch at login” is enabled.
v0.1.4
macOS — Dock icon disappears when window hides
showDockIconWhenHidden was false by default, causing syncDockVisibility() to call app.dock.hide() whenever the window closed or minimized. Changed the default to true so the dock icon stays visible at all times, matching Tailscale/Spotify behavior. The tray context menu still lets users toggle this off if they prefer a pure menu-bar-only mode.
macOS — Menu bar icon too large
createTray() used Icon.png as-is, which is likely 256×512px. Added a resize({ width: 16, height: 16 }) call for macOS so the icon fits the menu bar properly.
Linux — App silently crashes and nothing shows
new Tray(icon) throws on Linux systems without libappindicator (the default on most GNOME/Wayland setups). Because this happens inside a .then() callback, it becomes an unhandled promise rejection, which terminates the Electron process immediately in Node.js 15+/Electron 20+. Wrapped createTray() in a try/catch so the app falls back gracefully — it opens as a normal window with no tray.
Linux (and edge cases) — Window hidden with no way to restore
The close/minimize handlers were hiding the window unconditionally when closeToTray/minimizeToTray were enabled, even if tray creation had failed. Added a && tray guard to both handlers so hiding only occurs when a tray icon actually exists to restore the window from.
Note for existing macOS users: if you already launched the app once, your settings file has
showDockIconWhenHidden: falsesaved to disk. The new default only applies to fresh installs. To apply the fix immediately, toggle "Show Dock icon while in tray" on in the tray menu, or delete~/Library/Application Support/Kick Live Email Alerts/kick-live-email-alerts.jsonto reset to defaults.