Compare commits

..

2 Commits

Author SHA1 Message Date
edcd995b88 Merge branch 'main' of http://synbox.ruv.wtf:8418/litruv/cinny-desktop
All checks were successful
Build / increment-version (push) Successful in 7s
Build / build-linux (push) Successful in 1m59s
Build / build-windows (push) Successful in 3m54s
Build / create-release (push) Successful in 19s
2026-02-27 22:56:44 +11:00
2e0bf52a40 fix: update app user model ID handling and improve icon loading 2026-02-27 22:56:41 +11:00
2 changed files with 3 additions and 6 deletions

2
cinny

Submodule cinny updated: b400c4d6c3...c890cce37a

View File

@@ -79,11 +79,8 @@ let apiServer = null;
app.setName('Paarrot');
// On Windows, this controls the app name shown in toast notifications.
// In dev mode, use process.execPath so Windows can find the shortcut for electron.exe.
// In production, use the proper app ID.
if (process.platform === 'win32') {
const isDevelopment = process.env.NODE_ENV === 'development' || !app.isPackaged;
app.setAppUserModelId(isDevelopment ? process.execPath : 'com.paarrot.app');
app.setAppUserModelId('com.paarrot.app');
}
// Configure auto-updater
@@ -230,7 +227,7 @@ function createWindow() {
// Enable navigation gestures (works on macOS and some Linux environments)
enableBlinkFeatures: 'OverscrollHistoryNavigation'
},
icon: getIconPath(process.platform === 'win32' ? 'icon.ico' : 'icon.png'),
icon: nativeImage.createFromPath(getIconPath('icon.png')),
show: false // Don't show until ready
});