Merge pull request #162720 from Rylan12/replace-discontinued-with-deprecate

Use `deprecate!` instead of `discontinued`
This commit is contained in:
Rui Chen
2023-12-18 10:19:59 -05:00
committed by GitHub
236 changed files with 473 additions and 860 deletions
+2 -4
View File
@@ -7,9 +7,7 @@ cask "360safe" do
desc "Protection and antivirus security"
homepage "https://www.360totalsecurity.com/features/360-total-security-mac/"
app "360Safe.app"
deprecate! date: "2023-12-17", because: :discontinued
caveats do
discontinued
end
app "360Safe.app"
end
+2 -4
View File
@@ -7,9 +7,7 @@ cask "a-slower-speed-of-light" do
desc "First-person game"
homepage "https://gamelab.mit.edu/games/a-slower-speed-of-light/"
app "A Slower Speed of Light.app"
deprecate! date: "2023-12-17", because: :discontinued
caveats do
discontinued
end
app "A Slower Speed of Light.app"
end
+2 -4
View File
@@ -11,6 +11,8 @@ cask "actual" do
desc "Privacy-focused app for managing your finances"
homepage "https://actualbudget.com/"
deprecate! date: "2023-12-17", because: :discontinued
app "Actual.app"
zap trash: [
@@ -20,8 +22,4 @@ cask "actual" do
"~/Library/Preferences/com.shiftreset.actual.plist",
"~/Library/Saved Application State/com.shiftreset.actual.savedState",
]
caveats do
discontinued
end
end
+2 -2
View File
@@ -8,6 +8,8 @@ cask "adoptopenjdk" do
desc "JDK from the Java User Group (JUG)"
homepage "https://adoptopenjdk.net/"
deprecate! date: "2023-12-17", because: :discontinued
pkg "OpenJDK#{version.major}U-jdk_x64_mac_hotspot_#{version.csv.first}_#{version.csv.second.major}.pkg"
uninstall pkgutil: "net.adoptopenjdk.#{version.major}.jdk"
@@ -19,8 +21,6 @@ cask "adoptopenjdk" do
]
caveats do
discontinued
<<~EOS
Temurin is the official successor to this software:
+2 -1
View File
@@ -7,6 +7,8 @@ cask "agenda" do
desc "Note taking application focusing on dates"
homepage "https://agenda.com/"
deprecate! date: "2023-12-17", because: :discontinued
depends_on macos: ">= :mojave"
app "Agenda.app"
@@ -23,7 +25,6 @@ cask "agenda" do
]
caveats do
discontinued
<<~EOS
Newer versions are only available in Mac App Store.
EOS
+2 -4
View File
@@ -7,9 +7,7 @@ cask "airunlock" do
desc "Tool to lock or unlock the macbook using an Android phone via Bluetooth"
homepage "https://github.com/pinetum/AirUnlock-for-Mac"
app "AirUnlock.app"
deprecate! date: "2023-12-17", because: :discontinued
caveats do
discontinued
end
app "AirUnlock.app"
end
+2 -4
View File
@@ -6,11 +6,9 @@ cask "altdeploy" do
name "AltDeploy"
homepage "https://github.com/pixelomer/AltDeploy"
deprecate! date: "2023-12-17", because: :discontinued
depends_on macos: ">= :high_sierra"
app "AltDeploy.app"
caveats do
discontinued
end
end
+2 -4
View File
@@ -8,9 +8,7 @@ cask "alva" do
desc "Create living prototypes with code components"
homepage "https://meetalva.io/"
app "Alva.app"
deprecate! date: "2023-12-17", because: :discontinued
caveats do
discontinued
end
app "Alva.app"
end
+2 -4
View File
@@ -7,9 +7,7 @@ cask "amm" do
desc "Aria2 Menubar Monitor"
homepage "https://github.com/15cm/AMM"
app "AMM.app"
deprecate! date: "2023-12-17", because: :discontinued
caveats do
discontinued
end
app "AMM.app"
end
+2 -1
View File
@@ -7,6 +7,8 @@ cask "amorphousdiskmark" do
desc "App to measure storage read/write performance"
homepage "https://katsurashareware.com/amorphousdiskmark/"
deprecate! date: "2023-12-17", because: :discontinued
app "AmorphousDiskMark.app"
zap trash: [
@@ -15,7 +17,6 @@ cask "amorphousdiskmark" do
]
caveats do
discontinued
<<~EOS
Newer versions are only available on the Mac App Store.
EOS
+2 -2
View File
@@ -7,13 +7,13 @@ cask "android-messages" do
desc "Desktop client for Android Messages"
homepage "https://github.com/chrisknepper/android-messages-desktop"
deprecate! date: "2023-12-17", because: :discontinued
app "Android Messages.app"
zap trash: "~/Library/Application Support/Android Messages"
caveats do
discontinued
<<~EOS
#{token} has been deprecated in favor of OrangeDrangon Android Messages.
brew install --cask orangedrangon-android-messages
+2 -1
View File
@@ -8,6 +8,8 @@ cask "android-sdk" do
desc "Tools for the Android SDK"
homepage "https://developer.android.com/studio/releases/sdk-tools"
deprecate! date: "2023-12-17", because: :discontinued
binary "#{staged_path}/tools/android"
binary "#{staged_path}/tools/emulator"
binary "#{staged_path}/tools/emulator-check"
@@ -35,6 +37,5 @@ cask "android-sdk" do
caveats do
depends_on_java "8"
discontinued
end
end
@@ -16,6 +16,8 @@ cask "anka-build-cloud-controller-and-registry" do
strategy :header_match
end
deprecate! date: "2023-12-17", because: :discontinued
pkg "AnkaControllerRegistry#{arch}-#{version}.pkg"
uninstall script: {
@@ -28,7 +30,6 @@ cask "anka-build-cloud-controller-and-registry" do
rmdir: "/Library/Application Support/Veertu/Anka/registry"
caveats do
discontinued
license "https://veertu.com/terms-and-conditions/"
<<~EOS
+2 -4
View File
@@ -8,11 +8,9 @@ cask "ansible-dk" do
desc "Omnibus-based toolkit for working on Ansible-based infrastructure code"
homepage "https://github.com/omniti-labs/ansible-dk"
deprecate! date: "2023-12-17", because: :discontinued
pkg "ansible-dk-#{version.major_minor_patch}-1.pkg"
uninstall pkgutil: "com.omniti.labs.ansible-dk"
caveats do
discontinued
end
end
+2 -4
View File
@@ -10,6 +10,8 @@ cask "appcode" do
desc "IDE for Swift, Objective-C, C, and C++ development"
homepage "https://www.jetbrains.com/objc/"
deprecate! date: "2023-12-17", because: :discontinued
auto_updates true
depends_on macos: ">= :high_sierra"
@@ -30,8 +32,4 @@ cask "appcode" do
"~/Library/Logs/AppCode#{version.major_minor}",
"~/Library/Preferences/AppCode#{version.major_minor}",
]
caveats do
discontinued
end
end
+2 -4
View File
@@ -7,6 +7,8 @@ cask "appdelete" do
desc "App uninstaller"
homepage "http://www.reggieashworth.com/appdelete.html"
deprecate! date: "2023-12-17", because: :discontinued
auto_updates true
app "AppDelete.app"
@@ -18,8 +20,4 @@ cask "appdelete" do
"~/Library/Saved Application State/com.apps4macs.AppDelete.savedState",
"~/Library/Services/AppDelete.workflow",
]
caveats do
discontinued
end
end
+2 -4
View File
@@ -8,6 +8,8 @@ cask "appium" do
desc "Graphical frontend to Appium automation server"
homepage "https://appium.io/"
deprecate! date: "2023-12-17", because: :discontinued
app "Appium Server GUI.app"
zap trash: [
@@ -16,8 +18,4 @@ cask "appium" do
"~/Library/Preferences/io.appium.desktop.plist",
"~/Library/Saved Application State/io.appium.desktop.savedState",
]
caveats do
discontinued
end
end
+2 -4
View File
@@ -7,6 +7,8 @@ cask "apple-events" do
desc "Unofficial Apple Events app"
homepage "https://github.com/insidegui/AppleEvents"
deprecate! date: "2023-12-17", because: :discontinued
auto_updates true
app "Apple Events.app"
@@ -16,8 +18,4 @@ cask "apple-events" do
"~/Library/Caches/br.com.guilhermerambo.Apple-Events",
"~/Library/Preferences/br.com.guilhermerambo.Apple-Events.plist",
]
caveats do
discontinued
end
end
+2 -4
View File
@@ -7,6 +7,8 @@ cask "arduino" do
desc "Electronics prototyping platform"
homepage "https://www.arduino.cc/"
deprecate! date: "2023-12-17", because: :discontinued
conflicts_with cask: "homebrew/cask-versions/arduino-nightly"
app "Arduino.app"
@@ -17,8 +19,4 @@ cask "arduino" do
"~/Library/Preferences/cc.arduino.Arduino.plist",
"~/Library/Saved Application State/cc.arduino.Arduino.savedState",
]
caveats do
discontinued
end
end
+2 -4
View File
@@ -7,6 +7,8 @@ cask "aria2gui" do
desc "Graphical user interface for Aria2"
homepage "https://github.com/yangshun1029/aria2gui"
deprecate! date: "2023-12-17", because: :discontinued
app "Aria2GUI.app"
zap trash: [
@@ -14,8 +16,4 @@ cask "aria2gui" do
"~/Library/Preferences/com.Aria2GUI.plist",
"~/Library/Saved Application State/com.Aria2GUI.savedState",
]
caveats do
discontinued
end
end

Some files were not shown because too many files have changed in this diff Show More