Skip to content

Commit

Permalink
virtual-ii 12.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
krehel authored and khipp committed Nov 26, 2024
1 parent 10056e2 commit 6ecb2f7
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions Casks/v/virtual-ii.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cask "virtual-ii" do
version "12.1"
version "12.1.1"
sha256 :no_check

url "https://virtualii.com/VirtualII.dmg"
Expand All @@ -8,11 +8,16 @@
homepage "https://virtualii.com/"

livecheck do
url :homepage
regex(/version\s+(\d+(?:\.\d+)+)/i)
url "https://www.virtualii.com/versionlist.xml"
strategy :xml do |xml|
version = xml.elements["//key[text()='VirtualII']"]&.next_element&.text
next if version.blank?

version.strip
end
end

depends_on macos: ">= :high_sierra"
depends_on macos: ">= :monterey"

suite "Virtual ]["

Expand All @@ -24,6 +29,12 @@
zap trash: [
"~/Library/Application Support/Virtual ][",
"~/Library/Caches/SentryCrash/Virtual ][",
"~/Library/Application Scripts/nl.xs4all.gp.virtualii.VIIDiskViewerQLExtension",
"~/Library/Application Scripts/nl.xs4all.gp.virtualii.VIISavedStateViewerExtension",
"~/Library/Caches/nl.xs4all.gp.virtualii",
"~/Library/Containers/nl.xs4all.gp.virtualii.VIIDiskViewerQLExtension",
"~/Library/Containers/nl.xs4all.gp.virtualii.VIISavedStateViewerExtension",
"~/Library/HTTPStorages/nl.xs4all.gp.virtualii",
"~/Library/Preferences/nl.xs4all.gp.virtualii.plist",
"~/Library/Saved Application State/nl.xs4all.gp.virtualii.savedState",
]
Expand Down

0 comments on commit 6ecb2f7

Please sign in to comment.