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

The fix for the Icon #13

Open
imsys opened this issue May 20, 2017 · 3 comments
Open

The fix for the Icon #13

imsys opened this issue May 20, 2017 · 3 comments

Comments

@imsys
Copy link

imsys commented May 20, 2017

Hey, this is how I fixed the icon problem.

  mainWindow = new BrowserWindow({width: 900,
                                  height: 600,
                                  icon: path.join(__dirname, '../build/icon.png'),
                                  webPreferences: {nodeIntegration: false},
                                  show: false
                                 })
@sbrshk
Copy link
Owner

sbrshk commented May 20, 2017

Thank you, @imsys !
As far as I can see, your solution is for the main window icon?

@imsys
Copy link
Author

imsys commented May 23, 2017

This is for the main window icon, I'm using AWN for the docks, and it also picks the icon set there for the dock.

If that doesn't work in unity, the other option is to create a .desktop file and point to an icon there.

@christianbueno1
Copy link

christianbueno1 commented Jun 26, 2017

how fix that on fedora 25 , gnome desktop, thanks

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

No branches or pull requests

3 participants