mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
25 lines
709 B
Ruby
25 lines
709 B
Ruby
cask "easyeda" do
|
|
version "6.5.37"
|
|
sha256 "919c1978cf0843200a1ea5b60dbbfc168998d087f4ecac131688abf1f5a0cb4e"
|
|
|
|
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
|