-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add option to automatically download/install new updates in permission prompt #2209
Comments
That shouldn't have changed. This is for the permission prompt. That checkbox on the update prompt window in particular may not show up when automaticallyChecksForUpdates is NO or when SUAllowsAutomaticUpdates is NO (I think, or something like that, not looking at the code/docs at the moment, off top of my head) |
i just can't confirm that. the button was there with Sparkle 1.x and its gone in Sparkle 2.x - nothing was changed except upgrading the framework. looking at the source code i can't see how it would work either:
so the button is only there if the user has already checked the button (huh!?) or if i changed the line to
which seems to work fine for me. |
A little misunderstanding I think but yes there's a potential issue.
If However this also breaks, which you may have found out, if the developer wants to disable Sparkle's scheduler and check for updates themselves automatically, and also provide the user the option to opt into allowing automatic installing/downloading of updates. I think this is your case but let me know if I'm wrong. -- I can think of a simple way to fix this. If |
confirmed, this is exactly my case.
i can confirm that. its set to no because we don't want Sparkle to "ask users on second launch for permission if they want automatic update checks enabled". |
Change on your end for that issue will be to set SUAllowsAutomaticUpdates to YES in Info.plist with #2266 |
thanks! i'll try that, and hope it won't have any other consequences besides showing that checkbox :) |
it's only for the UI to allow changing automatic downloading/installing updates setting and it's only used in the update alert for hiding/showing the control / managing some UI constraints (Sparkle 1 is slightly different, but setting it there to YES too has no consequential effect). |
Adding this change in #2285 |
From discussion #2208, in the permission prompt I think we should consider adding a checkbox option that reflects
SUAutomaticallyUpdate
/-setAutomaticallyDownloadsUpdates:
(i.e, an option to automatically download/install new updates).Current permission prompt:
The text was updated successfully, but these errors were encountered: