37 lines
1.6 KiB
Ruby
37 lines
1.6 KiB
Ruby
cask "opencore-patcher" do
|
|
version "1.5.0"
|
|
sha256 "15f70a148a5490331a4b9f2b3cb7403b594a049250edd537f95a4b083e9efa9d"
|
|
|
|
url "https://github.com/dortania/OpenCore-Legacy-Patcher/releases/download/#{version}/OpenCore-Patcher.pkg",
|
|
verified: "github.com/dortania/OpenCore-Legacy-Patcher/"
|
|
name "OpenCore Legacy Patcher"
|
|
desc "Boot loader to inject/patch current features for unsupported Macs"
|
|
homepage "https://dortania.github.io/OpenCore-Legacy-Patcher/"
|
|
|
|
auto_updates true
|
|
|
|
pkg "OpenCore-Patcher.pkg"
|
|
|
|
uninstall launchctl: [
|
|
"com.dortania.opencore-legacy-patcher.auto-patch",
|
|
"com.dortania.opencore-legacy-patcher.macos-update",
|
|
],
|
|
pkgutil: "com.dortania.opencore-legacy-patcher",
|
|
delete: "/Applications/OpenCore-Patcher.app"
|
|
|
|
zap trash: [
|
|
"/Library/Logs/DiagnosticReports/OpenCore-Patcher_*.*_resource.diag",
|
|
"/Users/Shared/.com.dortania.opencore-legacy-patcher.plist",
|
|
"/Users/Shared/.OCLP-AutoPatcher-Log-*.txt",
|
|
"/Users/Shared/.OCLP-System-Log-*.txt",
|
|
"/Users/Shared/OpenCore-Patcher_*.log",
|
|
"~/Library/Application Support/CrashReporter/OpenCore-Patcher*",
|
|
"~/Library/Caches/com.dortania.opencore-legacy-patcher",
|
|
"~/Library/Logs/Dortania",
|
|
"~/Library/Preferences/com.dortania.opencore-legacy-patcher-wxpython.plist",
|
|
"~/Library/Saved Application State/com.dortania.opencore-legacy-patcher-wxpython.savedState",
|
|
"~/Library/Saved Application State/com.dortania.opencore-legacy-patcher.savedState",
|
|
"~/Library/WebKit/com.dortania.opencore-legacy-patcher",
|
|
]
|
|
end
|