-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Mac downloads the update, but does not install it #6058
Comments
That may have been resolved through #5802 |
nothing happend |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I'm on v22.12.1 - same case (nothing fixed) |
We are using
And then I have a log line:
from the following code
And the windows close (because we are destroying them due to testing) but the I am on macOS 10.15.7 |
We can confirm this issue. It might have something to do with missing administration privileges for being able to update the application. After entering user credentials for allowing the update of the app, then executing the update again it works. |
@nicograef It might be. I have not had this problem since using that fix I provided. |
We're seeing the same issue on our app. Update is downloaded, but never installed. Used to work before until recently. |
@theolivenbaum Are you using |
Seems like 4.6.1 https://github.com/theolivenbaum/Electron.NET/blob/21427f0b449ba8e4d37e02b037685bb5e9a4d323/ElectronNET.Host/package-lock.json#L411 Was this fixed on 4.6.2? If so I'll give it a try tomorrow! |
Yes, my PR was included in 4.6.2 according to the comment posted onto it |
@alfredsgenkins I think I've figured this out.. after stumbling around the myriad threads on this issue, it's a simple configuration setting 😆 (https://www.electron.build/configuration/mac#MacConfiguration-target) so just doing this: "mac": {
...
"target": [
"default"
], as the the auto updater relies on the the logs were able to point me in the right direction:
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hi Everyone, |
I also have the same problem |
^22.10.5
v14.17.0
^11.0.1
current
dmg
Hey!
This issue is similar by description to #2317, but I have not found any answers there. I decided to open new issue and provide more background.
My application on Mac shows the following notification:
But once I close and reopen the app back nothing happens. The old version is still displayed. I also want my application use the
quitAndInstall
pattern. For me the fact the the notification is displayed in the first place is strange.The background:
quitAndInstall
, I have ensure the safe exitHow my application handles an update:
I took the code sample from this issue and built my implementation on top if it: #1604
Why I think the signature is fine:
Despite me expecting the signature with the Developer ID, the app only shows notarization and hardening. Not sure why. The app however, only promts the this on first install, thus I assume it is OK:
How I sign my app:
I used following configuration in
package.json
:My notarization script is using
electron-notarize
and I sign it with following code:I build my app using following command:
What I also suspect:
The react boilerplate I use, contained the following code:
I heared that this could prevent app from closing. But I call
app.removeAllListeners('window-all-closed')
thus this should not be the case.In logs, I see following message (relating me to #486, but again, this appears to not break anything):
Any ideas, suggestions?
The text was updated successfully, but these errors were encountered: