themeengine: add livecheck (#102538)

This commit is contained in:
Markus Reiter
2021-03-25 00:07:09 +05:30
committed by GitHub
parent a9ad363b8c
commit d4055bbfe7
2 changed files with 11 additions and 1 deletions
+10 -1
View File
@@ -9,13 +9,22 @@ cask "themeengine" do
sha256 "2f7039bf8a30a20da20b292252759a501d15962f909d3b2274db9c2ec7a3bf39"
url "https://github.com/alexzielenski/ThemeEngine/releases/download/#{version.before_comma}(#{version.after_comma})/ThemeEngine_111.zip"
appcast "https://github.com/alexzielenski/ThemeEngine/releases.atom"
end
name "ThemeEngine"
desc "App to edit compiled .car files"
homepage "https://github.com/alexzielenski/ThemeEngine/"
livecheck do
url :url
strategy :git do |tags|
tags.map do |tag|
match = tag.match(/^(\d+(?:\.\d+)*)\((\d+)\)$/i)
"#{match[1]},#{match[2]}" if match
end.compact
end
end
app "ThemeEngine.app"
zap trash: "~/Library/Preferences/com.alexzielenski.ThemeEngine.LSSharedFileList.plist"
@@ -26,6 +26,7 @@
"shadowsocksx-ng-r": "all",
"splitshow": "all",
"syntax-highlight": "all",
"themeengine": "all",
"toggl-track": "all",
"xit": "all"
}