- icon-manager.ts: fix production path from '../dist/public' to '../dist'
Vite copies public/ assets to the root of dist/, not dist/public/, so
the old path caused electronAppExists() to return null in packaged
builds — falling through to Electron's default icon in the taskbar
- rpm-after-install.sh: add gtk-update-icon-cache and
update-desktop-database so GNOME/KDE picks up the installed icon and
desktop entry immediately without a session restart
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add --ozone-platform-hint=auto before app.whenReady() so Electron
auto-detects X11 vs Wayland when launched from a desktop entry where
the display protocol is not guaranteed (fixes immediate crash on
Fedora/GNOME Wayland sessions)
- Add autoHideMenuBar: true to BrowserWindow so the default Chromium
File/Edit/View/Help menu bar is hidden by default (still accessible
via Alt); removes visible Electron significance from the packaged app
- Add scripts/rpm-after-install.sh and wire it via afterInstall in the
electron-builder RPM config to chmod 4755 chrome-sandbox, ensuring
the setuid sandbox works on kernels with restricted user namespaces
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>