diff --git a/Casks/virtualbuddy.rb b/Casks/virtualbuddy.rb new file mode 100644 index 0000000000..367b67c2ca --- /dev/null +++ b/Casks/virtualbuddy.rb @@ -0,0 +1,29 @@ +cask "virtualbuddy" do + version "1.2.1,9" + sha256 "3e2b715d81227ce3305daa6d769663de53abd429d0c91708f722722e58ac6e9a" + + url "https://github.com/insidegui/VirtualBuddy/releases/download/#{version.csv.first}/VirtualBuddy_v#{version.csv.first}-#{version.csv.second}.dmg" + name "VirtualBuddy" + desc "Virtualization tool" + homepage "https://github.com/insidegui/VirtualBuddy" + + livecheck do + url "https://github.com/insidegui/VirtualBuddy/releases" + strategy :page_match do |page| + match = page.match(/href=.*?VirtualBuddy[._-]v?(\d+(?:\.\d+)+)[._-](\d+)\.dmg/i) + next if match.blank? + + "#{match[1]},#{match[2]}" + end + end + + depends_on arch: :arm64 + depends_on macos: :monterey + + app "VirtualBuddy.app" + + zap trash: [ + "~/Library/Application Support/VirtualBuddy", + "~/Library/Preferences/codes.rambo.VirtualBuddy.plist", + ] +end diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index 8ad090f036..b8e512f2ec 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -34,5 +34,6 @@ "themeengine": "all", "toggl-track": "all", "universal-android-debloater": "all", + "virtualbuddy": "all", "xit": "all" }