Files
2024-02-20 10:45:32 -05:00

25 lines
709 B
Ruby

cask "easyeda" do
version "6.5.40"
sha256 "ae32b49d9e6c220483ead73ad66b106d367f13fa444982d2585a7c43c62d6acd"
url "https://image.easyeda.com/files/easyeda-mac-x64-#{version}.zip"
name "EasyEDA"
desc "PCB design tool"
homepage "https://easyeda.com/"
livecheck do
url "https://easyeda.com/page/download"
regex(%r{href=.*?/easyeda[._-]mac[._-]x64[._-]v?(\d+(?:\.\d+)+)\.zip}i)
end
app "EasyEDA.app"
zap trash: [
"~/Library/Application Support/EasyEDA",
"~/Library/Logs/EasyEDA",
"~/Library/Preferences/com.easyeda.editor.helper.plist",
"~/Library/Preferences/com.easyeda.editor.plist",
"~/Library/Saved Application State/com.easyeda.editor.savedState",
]
end