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

Installing the latest electron build in windows overwrites the tray icon display preferences #786

Closed
lampholder opened this issue Jul 17, 2017 · 8 comments · Fixed by #1059
Assignees

Comments

@lampholder
Copy link
Member

lampholder commented Jul 17, 2017

And the tray icon is hidden by default.

This is a feature request to make the new install use the same tray icon display preferences as the install it's replacing.


  • classID
@t3chguy
Copy link
Member

t3chguy commented Jul 17, 2017

Pretty sure this is an issue with Squirrel.Windows update mechanics and not something we can do anything about :(

@lampholder
Copy link
Member Author

Yeah, I figured that was likely :(

@t3chguy
Copy link
Member

t3chguy commented Jul 21, 2017

its possible that signing may fix this, if Windows can tie application accross installs using its signature but thats $$$
(complete guess, no idea really, best opening upstream)

@mtausig
Copy link

mtausig commented Nov 10, 2020

Probably related: Squirrel/Squirrel.Windows#863

@dtheodor
Copy link

Can't you fix this, isn't this hugely annoying for you or any other Windows user?

@tbertels
Copy link

This is fixed upstream in Squirrel.Windows (Squirrel/Squirrel.Windows#1835).
But Squirrel.Windows didn't get any new release since 2020. And version 1.9.0, still used by electron-builder-squirrel-windows, itself used by Element, is from 2018.

https://github.com/clowd/Clowd.Squirrel looks nice as a replacement for Squirrel.Windows, but it should get electron support first.

@tbertels
Copy link

tbertels commented Jul 10, 2023

From electron/electron#39032 (comment):

This can be "fixed" by providing a unique guid to the new Tray constructor. This guid should be unique to your app and never change. It is associated with your apps signature so changing your apps name or signature will invalidate the guid and you'll have to ship an update with a new guid. Be careful when testing this feature as each guid you use on an unsigned app will be "burned" by windows.

Ref: https://www.electronjs.org/docs/latest/api/tray#new-trayimage-guid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants
@jryans @mtausig @dtheodor @lampholder @t3chguy @tbertels and others