diff --git a/main.js b/main.js index 23346e905..b1c91ddab 100644 --- a/main.js +++ b/main.js @@ -4,6 +4,8 @@ const { autoUpdater } = require('electron-updater'); const { onFirstRunMaybe } = require('./first-run'); const path = require('path'); +app.setAppUserModelId('com.electron.gitify'); + const iconIdle = path.join( __dirname, 'assets', diff --git a/src/utils/notifications.ts b/src/utils/notifications.ts index 5e9a4e12c..969dddf19 100644 --- a/src/utils/notifications.ts +++ b/src/utils/notifications.ts @@ -69,7 +69,9 @@ export const raiseNativeNotification = ( if (notifications.length === 1) { const notification = notifications[0]; - title = `Gitify - ${notification.repository.full_name}`; + title = `${process.platform !== 'win32' ? 'Gitify - ' : ''}${ + notification.repository.full_name + }`; body = notification.subject.title; notificationUrl = notification.subject.url; } else {