Skip to content

Commit d585045

Browse files
committed
viable: updates
Signed-off-by: Justin Krehel <[email protected]>
1 parent b8c4a75 commit d585045

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Casks/v/viable.rb

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
livecheck do
1212
url :homepage
13-
regex(%r{href=.*?/(\d+)/(\d+)/viable[._-]?v?(\d+(?:\.\d+)*\w?)\.zip}i)
13+
regex(%r{href=.*?/uploads/(\d+)/(\d+)/viable[._-]?v?(\w+)\.zip}i)
1414
strategy :page_match do |page, regex|
1515
page.scan(regex).map do |match|
1616
"#{match[2]},#{match[0]}.#{match[1]}"
@@ -23,6 +23,9 @@
2323
app "viable#{version.csv.first}/Viable.app"
2424

2525
zap trash: [
26+
"~/Library/Caches/co.eclecticlight.Viable",
27+
"~/Library/HTTPStorages/co.eclecticlight.Viable",
2628
"~/Library/Preferences/co.eclecticlight.Viable.plist",
29+
"~/Library/Saved Application State/co.eclecticlight.Viable.savedState",
2730
]
2831
end

0 commit comments

Comments
 (0)