-
Notifications
You must be signed in to change notification settings - Fork 1.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
Release notes based on currently installed version in legacy WebView #2482
Comments
It's a known limitation; I am not sure what it would take to port it over. I suppose we can indeed document it on the website. Frankly I am surprised someone is using the Downloader XPC Service (it's not commonly used as most sandboxed apps require network usage). Sparkle uses deprecated WebKit1 when opting into the Downloader XPC Service all thanks to WebKit not fixing a bug preventing the sandboxed app from being able to use WKWebView without The only current way of using the Downloader XPC Service without legacy WebKit1 is using plain text release notes or markdown if that's implemented in the future (#2319). However these are definitely not what you want if you want to stylize release notes like you posted. |
For clarification, there is additional code done for configuring WKWebView which inserts javascript (see |
I took a brief look at this a bit. I think it's only possible to carry this over to I updated the website documentation as well. |
It's quite simple: I want to use Sparkle for updating of an sandboxed application, which doesn't require
I know all the reasons and about the bug. I've already filed a duplicate about 2 months ago. But knowing Apple… 😐 They may easily claim it "a feature" 🙂
I looked into the code and that seems the only option, but I agree it isn't a very good idea. Certainly not for just enabling such limited feature, like conditionally styled release notes. So, I'll do what I've been doing until now; pass some additional parameter ( Thanks for checking it out anyway 👍🏻 |
I'm trying to show only the relevant release notes, as explained here. I have this specified in my
release_notes.html
:And then each new release note defined as:
This all works fine as documented in WKWebView, but not in legacy WebView (when using
Downloader.xpc
and without havingcom.apple.security.network.client
entitlement defined for sandboxed application). Legacy WebView displays ALL release notes (without opacity), completely ignoringdiv.sparkle-installed-version
style definitions. So, before checking the source code, I wonder if this is the (known?) limitation of legacy WebView, or there is in code some additional configuring done for WKWebView, but omitted for legacy WebView?The text was updated successfully, but these errors were encountered: