mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Cannot change the app title for toast notification on Windows 10 #790
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 @nazar322 on GitHub (May 5, 2022).
Steps to Reproduce:
Please refer to the screenshot attached

When

Electron.Notification.Showis called it shows a toast notification with what it seems to be an app identifier at its topmost title area.The issue is that I cannot change it.
Being aware of the question area here is not where (ideally) questions should be asked I looked on StackOverflow and asked on gitter but with no luck.
What you see on the screenshot is when the app launched with the
electronize start.When I build the app with
electronize buildand run the compiled executable the title for the toast notification is "electron.app.productName" fromelectron.manifest.json.Not the
namelike herebut electron.app. + the content of build->productName from the manifest.
I suppose it should use the name from the
nameproperty of electron.manifest.json.Please advise how this title can be defined or if it's actually a bug that needs to be fixed!!
@nazar322 commented on GitHub (May 6, 2022):
Just call
Electron.App.SetAppUserModelId