homebrew-cask/Casks/h/hbuilderx.rb

22 lines
572 B
Ruby

cask "hbuilderx" do
version "4.15.2024050802"
sha256 "681c41db86e4a638d360a06571b56558f933c2f825af57cbac14f2a53d8f8136"
url "https://download1.dcloud.net.cn/download/HBuilderX.#{version}.dmg",
verified: "download1.dcloud.net.cn/download/"
name "HBuilderX"
desc "HTML editor"
homepage "https://www.dcloud.io/hbuilderx.html"
livecheck do
url "https://download1.dcloud.net.cn/hbuilderx/release.json"
strategy :json do |json|
json["version"]
end
end
app "HBuilderX.app"
zap trash: "~/Library/Application Support/HBuilder X"
end