How to Modify the Notification Header text in windows #723

Closed
opened 2026-01-29 16:46:51 +00:00 by claunia · 1 comment
Owner

Originally created by @SheltonAlves on GitHub (Nov 1, 2021).

I have created electron app and have used Electron.AutoUpdater.CheckForUpdatesAndNotifyAsync() method to notify user about newer version of app.
Whenever update is available I get the notification but header in notification center is different how do I match the header to my app name?
Notification header display electron.app.appName I need to display my app name only without prefixing electron.
image

image

Originally created by @SheltonAlves on GitHub (Nov 1, 2021). I have created electron app and have used Electron.AutoUpdater.CheckForUpdatesAndNotifyAsync() method to notify user about newer version of app. Whenever update is available I get the notification but header in notification center is different how do I match the header to my app name? Notification header display electron.app.appName I need to display my app name only without prefixing electron. ![image](https://user-images.githubusercontent.com/59496152/139707425-2f24ecfe-ac37-4fc6-8669-6df75c9bf9ff.png) ![image](https://user-images.githubusercontent.com/59496152/139707632-d2f839df-e49d-4198-ae8e-bb29a58994d3.png)
claunia added the bug label 2026-01-29 16:46:51 +00:00
Author
Owner

@SheltonAlves commented on GitHub (Nov 2, 2021):

Adding following line in startup.cs fixes the problem .
Electron.App.SetAppUserModelId("Custom Title");

To show custom notification header we must manually set the appUserModelID.

@SheltonAlves commented on GitHub (Nov 2, 2021): Adding following line in startup.cs fixes the problem . Electron.App.SetAppUserModelId("Custom Title"); To show custom notification header we must manually set the appUserModelID.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#723