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 Safari Technology Preview latest #20171
Conversation
Here's an encrypted URL: |
957c2c7
to
dfe78f7
Compare
It should be a rolling release, but updates beyond initial installation will be distributed through MAS (every two weeks). Presumably the download URL should point to the latest binary (there's no reason to believe otherwise).
Updated, thanks. |
Sweet!
I thought I had found a direct link to the specific release, but that was not the case (which is why I claimed that it wasn't). My bad. |
|
||
pkg 'Safari Technology Preview for OS X El Capitan.pkg' | ||
|
||
# Cannot use pkgutil due to lack of BOM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@caskroom/maintainers What do you think? Should this be here or in caskroom/versions? |
Seems like versions would be better (the other firefox versions are there, I think) |
Adding a cask says
That's why I submitted here — there's no way Safari will ever be vendored by HBC. |
That's true - though will this link consistently work/be updated? I thought it was updated only via MAS |
The blog post didn't say whether this link will always point to the latest binary, but IMO there's no reason they would ask you to download an outdated version, then wait for MAS to check for an update. |
dfe78f7
to
a51f6c0
Compare
My guess is that Apple will update the web download versions (eventually) and they will offer updates to the Safari TP via their software update servers, checking for bundle versions of But either way users will see the updates in the MAS and not need to care which backend is actually doing the check and update installation. |
That’s what gives me pause as well. Not sure yet what the best repo for this might be. |
a51f6c0
to
64758d2
Compare
Just added a zap stanza. There's one plist in |
This probably goes for a bunch of different casks and is probably worth an issue of its own, but since OS X added a preferences caching daemon in 10.8 it's not really best practice to interact with preferences by modifying plists directly. From Apple's 10.8 API notes on preferences: "The on-disk property list files used by CFPreferences have always been a private implementation detail, but in previous releases, directly modifying them has mostly worked (though there are some potential data-loss issues for applications that do so, even on previous systems). In 10.8 and later, the CFPreferences agent process (cfprefsd) will cache information from these files and asynchronously write to them. This means that directly modifying plist files is unlikely to have the expected results (new settings will not necessarily be read, and may even be overwritten). You should use the NSUserDefaults or CFPreferences APIs, or the defaults(1) command, to interact with the preferences system." So as suggested, you can instead issue a
and for ByHost prefs:
As long as these are always run in the context of the user whose preferences are being operated on. Generally current-host prefs have device-specific info, and I'm not sure you'd necessarily want to clear what in this case is a key called |
I know (learned it the hard way a long time ago), but when you delete both the plist and the application that uses it, it doesn't really matter. |
For what it’s worth, |
That is actually an excellent point. I’m convinced. What about you, @adidalal? |
Sounds good - lets add it to /versions |
Thank you for all your work on this, @zmwangx. The one in caskroom/versions is at issue #1865, in case you want to take a look. |
https://developer.apple.com/safari/technology-preview/
https://webkit.org/blog/6017/introducing-safari-technology-preview/