-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172553 from Homebrew/migrate-s
various casks (s-t): migrate
- Loading branch information
Showing
22 changed files
with
753 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
cask "safari-technology-preview" do | ||
# when adjusting the on_{os} scoping, also update the livecheck regex | ||
on_ventura :or_older do | ||
version "193,052-88765-20240424-B9DD68E5-3E5A-493F-8056-1D8A8578D822" | ||
sha256 "e3591ed0190e3194afb1e390f9ec089b251ef711327db3c0cc43964fd41f2d54" | ||
|
||
livecheck do | ||
url :homepage | ||
regex(%r{ | ||
href=.*?/([^/]+)/Safari(?:%20)?Technology(?:%20)?Preview\.dmg | ||
.*?macOS(?:\s| )*13[\s.<] | ||
}ix) | ||
strategy :page_match do |page, regex| | ||
release = page[%r{>\s*Release\s*</p>\s*<p[^>]*>\s*(\d+)\s*<}i, 1] | ||
id = page[regex, 1] | ||
"#{release},#{id}" | ||
end | ||
end | ||
end | ||
on_sonoma :or_newer do | ||
version "193,052-88763-20240424-6C822EBC-3B0C-4BAA-8004-10D95319E259" | ||
sha256 "41e63d01eee76f08bdd717af75d9cf4c04100e1b5f160bd2d141b37e6bae07cd" | ||
|
||
livecheck do | ||
url :homepage | ||
regex(%r{ | ||
href=.*?/([^/]+)/Safari(?:%20)?Technology(?:%20)?Preview\.dmg | ||
.*?macOS(?:\s| )*14[\s.<] | ||
}ix) | ||
strategy :page_match do |page, regex| | ||
release = page[%r{>\s*Release\s*</p>\s*<p[^>]*>\s*(\d+)\s*<}i, 1] | ||
id = page[regex, 1] | ||
"#{release},#{id}" | ||
end | ||
end | ||
end | ||
|
||
url "https://secure-appldnld.apple.com/STP/#{version.csv.second}/SafariTechnologyPreview.dmg" | ||
name "Safari Technology Preview" | ||
desc "Web browser" | ||
homepage "https://developer.apple.com/safari/resources/" | ||
|
||
auto_updates true | ||
depends_on macos: ">= :ventura" | ||
|
||
pkg "Safari Technology Preview.pkg" | ||
|
||
uninstall launchctl: "com.apple.SafariTechnologyPreview.History", | ||
quit: "com.apple.SafariTechnologyPreview", | ||
delete: "/Applications/Safari Technology Preview.app" | ||
|
||
zap trash: [ | ||
"~/Library/Application Scripts/com.apple.SafariTechnologyPreview*", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.apple.safaritechnologypreview.sfl*", | ||
"~/Library/Caches/com.apple.SafariTechnologyPreview", | ||
"~/Library/Containers/com.apple.SafariTechnologyPreview*", | ||
"~/Library/Preferences/com.apple.SafariTechnologyPreview*", | ||
"~/Library/SafariTechnologyPreview", | ||
"~/Library/Saved Application State/com.apple.SafariTechnologyPreview.savedState", | ||
"~/Library/SyncedPreferences/com.apple.SafariTechnologyPreview*", | ||
"~/Library/WebKit/com.apple.SafariTechnologyPreview", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
cask "shadow@beta" do | ||
arch arm: "arm64", intel: "x64" | ||
|
||
version "9.9.10000" | ||
sha256 arm: "c481203d9a3743280325caf6ce5dd9391d6e0da71870bc26b948aab6609095aa", | ||
intel: "ebe7811e42dae5d3bc27b39852f2a4ae594afe6a8df1595ba2543c2016de3016" | ||
|
||
url "https://update.shadow.tech/launcher/preprod/mac/#{arch}/ShadowPCBeta-#{version}.dmg" | ||
name "Shadow PC Beta" | ||
desc "Online virtualized computer" | ||
homepage "https://shadow.tech/" | ||
|
||
livecheck do | ||
url "https://update.shadow.tech/launcher/preprod/mac/#{arch}/latest-mac.yml" | ||
strategy :electron_builder | ||
end | ||
|
||
app "Shadow PC Beta.app" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/shadow-preprod", | ||
"~/Library/Preferences/com.electron.shadow-beta.plist", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
cask "signal@beta" do | ||
arch arm: "arm64", intel: "x64" | ||
|
||
version "7.7.0-beta.1" | ||
sha256 arm: "ebce48d279b8be16aea6eb7c3ae0fb7457137d5f70b3527811dd1e8ac036e8e8", | ||
intel: "e8f0fa814b36dd5c4e46c3be20e66e4e3ffce90cca249a3a29aae1abfb574201" | ||
|
||
url "https://updates.signal.org/desktop/signal-desktop-beta-mac-#{arch}-#{version}.dmg" | ||
name "Signal Beta" | ||
desc "Instant messaging application focusing on security" | ||
homepage "https://signal.org/" | ||
|
||
livecheck do | ||
url "https://github.com/signalapp/Signal-Desktop" | ||
regex(/^v?(\d+(?:\.\d+)+[._-]beta\.\d+)$/i) | ||
end | ||
|
||
auto_updates true | ||
depends_on macos: ">= :catalina" | ||
|
||
app "Signal Beta.app" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/Signal", | ||
"~/Library/Preferences/org.whispersystems.signal-desktop.helper.plist", | ||
"~/Library/Preferences/org.whispersystems.signal-desktop.plist", | ||
"~/Library/Saved Application State/org.whispersystems.signal-desktop.savedState", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
cask "skype@preview" do | ||
version "8.119.76.105" | ||
sha256 "dc54ca7d296c5051c856a98f194ab2398370a2cc8c7171858edbc768f110f8ff" | ||
|
||
url "https://endpoint920510.azureedge.net/s4l/s4l/download/mac/Skype-#{version}.dmg", | ||
verified: "endpoint920510.azureedge.net/s4l/s4l/download/mac/" | ||
name "Skype Preview" | ||
desc "Video chat, voice call and instant messaging application" | ||
homepage "https://www.skype.com/en/insider/" | ||
|
||
livecheck do | ||
url "https://go.skype.com/mac.preview.download" | ||
strategy :header_match | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: "skype" | ||
depends_on macos: ">= :high_sierra" | ||
|
||
app "Skype.app" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/Microsoft/Skype for Desktop", | ||
"~/Library/Caches/com.skype.s4l", | ||
"~/Library/Caches/com.skype.s4l.ShipIt", | ||
"~/Library/HTTPStorages/com.skype.s4l", | ||
"~/Library/Preferences/com.skype.s4l.plist", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
cask "slack@beta" do | ||
arch arm: "arm64", intel: "x64" | ||
|
||
version "4.38.115" | ||
sha256 arm: "f1ed73efd940a929ae8b68a71bcd2a25201a600afe2e5cafb9de49eb44c54a36", | ||
intel: "5785565f621d3d129da921415d22c3f8ead27b0ff0d9b88800a09074e055a769" | ||
|
||
url "https://downloads.slack-edge.com/releases/macos/#{version}/prod/#{arch}/Slack-#{version}-macOS.dmg", | ||
verified: "downloads.slack-edge.com/releases/macos/" | ||
name "Slack" | ||
desc "Team communication and collaboration software" | ||
homepage "https://slack.com/beta/osx" | ||
|
||
livecheck do | ||
url "https://slack.com/ssb/download-osx-beta" | ||
strategy :header_match | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: "slack" | ||
depends_on macos: ">= :big_sur" | ||
|
||
app "Slack.app" | ||
|
||
uninstall quit: "com.tinyspeck.slackmacgap" | ||
|
||
zap trash: [ | ||
"~/Library/Application Scripts/com.tinyspeck.slackmacgap", | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.tinyspeck.slackmacgap.sfl*", | ||
"~/Library/Application Support/Slack", | ||
"~/Library/Caches/com.tinyspeck.slackmacgap", | ||
"~/Library/Caches/com.tinyspeck.slackmacgap.ShipIt", | ||
"~/Library/Containers/com.tinyspeck.slackmacgap", | ||
"~/Library/Containers/com.tinyspeck.slackmacgap.SlackCallsService", | ||
"~/Library/Cookies/com.tinyspeck.slackmacgap.binarycookies", | ||
"~/Library/Group Containers/*.com.tinyspeck.slackmacgap", | ||
"~/Library/Group Containers/*.slack", | ||
"~/Library/Logs/Slack", | ||
"~/Library/Preferences/ByHost/com.tinyspeck.slackmacgap.ShipIt.*.plist", | ||
"~/Library/Preferences/com.tinyspeck.slackmacgap.helper.plist", | ||
"~/Library/Preferences/com.tinyspeck.slackmacgap.plist", | ||
"~/Library/Saved Application State/com.tinyspeck.slackmacgap.savedState", | ||
"~/Library/WebKit/com.tinyspeck.slackmacgap", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
cask "sonos-s1-controller" do | ||
version "57.21-50280,LGeb8h0Gma" | ||
sha256 "e65db06684aab6cd70d1b638ebcc28ba04dedd24e63802775543ed680377da19" | ||
|
||
url "https://update-software.sonos.com/software/#{version.csv.second}/Sonos_#{version.csv.first}.dmg" | ||
name "Sonos S1" | ||
desc "Controller for Gen 1 Sonos products" | ||
homepage "https://www.sonos.com/" | ||
|
||
livecheck do | ||
url "https://www.sonos.com/en/redir/controller_software_mac" | ||
regex(%r{software/(\w+)/Sonos[._-]v?(\d+(?:.\d+)+)\.dmg}i) | ||
strategy :header_match do |headers, regex| | ||
headers["location"].scan(regex).map { |match| "#{match[1]},#{match[0]}" } | ||
end | ||
end | ||
|
||
auto_updates true | ||
|
||
app "Sonos S1 Controller.app" | ||
|
||
zap trash: "~/Library/Application Support/Sonos" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
cask "sourcetree@beta" do | ||
version "4.2.8b18,264" | ||
sha256 "5018989f77db0212095c86518de2d11ad460eebeba0ee5fff08f4e88ec42e555" | ||
|
||
url "https://product-downloads.atlassian.com/software/sourcetree/beta/Sourcetree_#{version.csv.first}_#{version.csv.second}.zip", | ||
verified: "product-downloads.atlassian.com/software/sourcetree/beta/" | ||
name "Atlassian Sourctree" | ||
desc "Graphical client for Git version control" | ||
homepage "https://www.sourcetreeapp.com/" | ||
|
||
livecheck do | ||
url "https://product-downloads.atlassian.com/software/sourcetree/Appcast/SparkleAppcastBeta.xml" | ||
strategy :sparkle | ||
end | ||
|
||
depends_on macos: ">= :catalina" | ||
|
||
app "Sourcetree-Beta.app" | ||
binary "#{appdir}/Sourcetree-Beta.app/Contents/Resources/stree", target: "stree-beta" | ||
|
||
uninstall launchctl: "com.atlassian.SourceTreePrivilegedHelper2", | ||
quit: "com.torusknot.SourceTreeNotMAS" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.torusknot.sourcetreenotmas.sfl*", | ||
"~/Library/Application Support/SourceTree", | ||
"~/Library/Caches/com.torusknot.SourceTreeNotMAS", | ||
"~/Library/Preferences/com.torusknot.SourceTreeNotMAS.LSSharedFileList.plist", | ||
"~/Library/Preferences/com.torusknot.SourceTreeNotMAS.plist", | ||
"~/Library/Saved Application State/com.torusknot.SourceTreeNotMAS.savedState", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
cask "sublime-merge@dev" do | ||
version "2095" | ||
sha256 "286aeffe473051afd4abc7b7f11155864ad5cf41302b7aebfe49a071fad98e9a" | ||
|
||
url "https://download.sublimetext.com/sublime_merge_build_#{version}_mac.zip", | ||
verified: "download.sublimetext.com/" | ||
name "Sublime Merge" | ||
desc "Git client" | ||
homepage "https://www.sublimemerge.com/dev" | ||
|
||
livecheck do | ||
url "https://www.sublimemerge.com/updates/dev_update_check" | ||
regex(/"latest_version"\s*:\s*(\d+)/i) | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: "sublime-merge" | ||
|
||
app "Sublime Merge.app" | ||
binary "#{appdir}/Sublime Merge.app/Contents/SharedSupport/bin/smerge" | ||
|
||
uninstall quit: "com.sublimemerge" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sublimemerge.sfl*", | ||
"~/Library/Application Support/Sublime Merge", | ||
"~/Library/Caches/com.sublimemerge/", | ||
"~/Library/Preferences/com.sublimemerge.plist", | ||
"~/Library/Saved Application State/com.sublimemerge.savedState", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
cask "sublime-text@dev" do | ||
# NOTE: The first digit of the build number is the major version. | ||
version "4173" | ||
sha256 "d03b52f88246d508b8b4b93a809e364c6801c86aa103ed2f50782d083c882d1d" | ||
|
||
url "https://download.sublimetext.com/sublime_text_build_#{version}_mac.zip" | ||
name "Sublime Text" | ||
desc "Text editor for code, markup and prose" | ||
homepage "https://www.sublimetext.com/dev" | ||
|
||
livecheck do | ||
url "https://www.sublimetext.com/download_thanks_dev?target=mac" | ||
regex(/href=.*?v?(\d+)_mac\.zip/i) | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: [ | ||
"sublime-text", | ||
"sublime-text3", | ||
] | ||
|
||
app "Sublime Text.app" | ||
binary "#{appdir}/Sublime Text.app/Contents/SharedSupport/bin/subl" | ||
|
||
uninstall quit: "com.sublimetext.#{version[0]}" | ||
|
||
# Sublime Text 4 uses `Sublime Text 3` and `com.sublimetext.3` dirs if they exist | ||
# Otherwise, it creates `Sublime Text` and `com.sublimetext.4` | ||
# More info: https://www.sublimetext.com/docs/side_by_side.html | ||
zap trash: [ | ||
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.sublimetext.#{version[0]}.sfl*", | ||
"~/Library/Application Support/Sublime Text (Safe Mode)", | ||
"~/Library/Application Support/Sublime Text 3", | ||
"~/Library/Application Support/Sublime Text", | ||
"~/Library/Caches/com.sublimetext.#{version[0]}", | ||
"~/Library/Caches/com.sublimetext.3", | ||
"~/Library/Preferences/com.sublimetext.#{version[0]}.plist", | ||
"~/Library/Preferences/com.sublimetext.3.plist", | ||
"~/Library/Saved Application State/com.sublimetext.#{version[0]}.savedState", | ||
"~/Library/Saved Application State/com.sublimetext.3.savedState", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
cask "surge@4" do | ||
version "4.11.2,2016,b4c9dad3472594b01ef3d8ac9b05c78e" | ||
sha256 "144ba12a3ea884f264ebe8fb5fc2c77003f51057fd9efe8662824acaf3805104" | ||
|
||
url "https://dl.nssurge.com/mac/v#{version.major}/Surge-#{version.tr(",", "-")}.zip" | ||
name "Surge" | ||
desc "Network toolbox" | ||
homepage "https://nssurge.com/" | ||
|
||
livecheck do | ||
url "https://www.nssurge.com/mac/v#{version.major}/appcast-signed.xml" | ||
regex(/[._-](\d+(?:\.\d+)+)[._-](\d+)[._-](\h+)\.zip/i) | ||
strategy :sparkle do |item, regex| | ||
item.url.scan(regex).map do |match| | ||
"#{match[0]},#{match[1]},#{match[2]}" | ||
end | ||
end | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: "surge" | ||
depends_on macos: ">= :high_sierra" | ||
|
||
app "Surge.app" | ||
|
||
uninstall launchctl: "com.nssurge.surge-mac.helper", | ||
delete: "/Library/PrivilegedHelperTools/com.nssurge.surge-mac.helper" | ||
|
||
zap delete: [ | ||
"~/Library/Application Support/com.nssurge.surge-mac", | ||
"~/Library/Caches/com.nssurge.surge-mac", | ||
"~/Library/Caches/com.nssurge.surge-mac.plist", | ||
"~/Library/Logs/Surge", | ||
"~/Library/Preferences/com.nssurge.surge-mac.plist", | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
cask "telegram-desktop@beta" do | ||
version "4.16.10" | ||
sha256 "e6a929bd029fa1b3f0afa049b7def7475996979f2b2e69d88dcde2562e7e5eb4" | ||
|
||
url "https://updates.tdesktop.com/tmac/tsetup.#{version}.beta.dmg", | ||
verified: "updates.tdesktop.com/tmac/" | ||
name "Telegram Desktop" | ||
desc "Desktop client for Telegram messenger" | ||
homepage "https://desktop.telegram.org/" | ||
|
||
livecheck do | ||
url "https://telegram.org/dl/desktop/mac?beta=1" | ||
regex(/tsetup[._-]v?(\d+(?:\.\d+)+)[._-]beta\.dmg/i) | ||
strategy :header_match | ||
end | ||
|
||
auto_updates true | ||
conflicts_with cask: "telegram-desktop" | ||
depends_on macos: ">= :high_sierra" | ||
|
||
# Renamed to avoid conflict with telegram | ||
app "Telegram.app", target: "Telegram Desktop.app" | ||
|
||
zap trash: [ | ||
"~/Library/Application Support/Telegram Desktop", | ||
"~/Library/Preferences/com.tdesktop.Telegram.plist", | ||
"~/Library/Saved Application State/com.tdesktop.Telegram.savedState", | ||
] | ||
end |
Oops, something went wrong.