Is it possible to customize the Update Available window view? #2559
-
I would like to make some cosmetic changes to the window that appears when an update is available. For example, I include release notes HTML and I would like to modify the dimensions and style of web view and some related things. Is there a way to access the view controller from my Swift app, to make these adjustments? Or can/should I create a subclass of the current view controller and assign it to Sparkle somehow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
There's a private API to access the updater alert's window controller (discussed here) which would allow you to traverse through the view hierarchy. Naturally, this is a more fragile path prone to breaking in the future if any of the UI changes later on. Other options are contributing changes if you think some of the changes you want to make would be a benefit/enhancement to everyone or others. If they are only specific to you, I don't recommend this however. Another option is forking Sparkle which may make it more difficult to update later. Another bigger option is using your own custom UI entirely. This has the downside of needing to take care of a lot of details yourself that are otherwise considered by Sparkle's standard UI. |
Beta Was this translation helpful? Give feedback.
There's a private API to access the updater alert's window controller (discussed here) which would allow you to traverse through the view hierarchy. Naturally, this is a more fragile path prone to breaking in the future if any of the UI changes later on.
Other options are contributing changes if you think some of the changes you want to make would be a benefit/enhancement to everyone or others. If they are only specific to you, I don't recommend this however. Another option is forking Sparkle which may make it more difficult to update later.
Another bigger option is using your own custom UI entirely. This has the downside of needing to take care of a lot of details yourself that are other…