mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-11 05:34:34 +00:00
How to Modify the Notification Header text in windows #723
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.