Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace application icon to proper #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Andersen27
Copy link

@Andersen27 Andersen27 commented May 6, 2024

Old path to application icon ("Assets/electron.ico") did not work. The Electron default icon was displayed, which can be seen when changing the icon file to another. The following path is correct: "bin/Assets/electron.ico".
But in order for the developers to see that the custom icon definition really works, I replaced the icon with the one located in wwwroot. So the "ElectronNET-API-Demos/Assets/" folder is no longer needed and has been deleted.

Also BrowserWindow's icon was defined relative to OS platform (edits inside electron.manifest.json is enough for Windows, but this is a working example that can be useful to developers, specifically for Linux).

P.S: Refreshing the icon cache (Windows)

image

@Andersen27 Andersen27 changed the title Replace application icon to proper (Windows) Replace application icon to proper May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant