Skip to content

Commit

Permalink
lceda-pro: update zap
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Dec 30, 2024
1 parent d5b3bbd commit c5a3051
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Casks/l/lceda-pro.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
sha256 arm: "0adf3ee96c7777cf72f7db11a77b051888648589f89e4050c32ac4fde50fcf23",
intel: "0adf3ee96c7777cf72f7db11a77b051888648589f89e4050c32ac4fde50fcf23"

branch = "main"
url "https://raw.githubusercontent.com/Brewforge/homebrew-chinese/refs/heads/#{branch}/Casks/l/lceda-pro.sh",
verified: "raw.githubusercontent.com/Brewforge/homebrew-chinese/"
branch = "main"
url "https://raw.githubusercontent.com/Brewforge/homebrew-chinese/refs/heads/#{branch}/Casks/l/lceda-pro.sh",
verified: "raw.githubusercontent.com/Brewforge/homebrew-chinese/"
name "LCEDA-Pro"
desc "高效的国产 PCB 设计工具,永久免费"
homepage "https://lceda.cn/"
Expand All @@ -26,17 +26,18 @@
args: [
"https://image.lceda.cn/files/lceda-pro-mac-#{arch}-#{version}.zip",
"#{staged_path}/lceda-pro-mac-#{arch}-#{version}.zip",
"#{appdir}",
appdir.to_s,
],
}

# binary "#{appdir}/LCEDA-Pro.app/Contents/MacOS/LCEDA-Pro"

uninstall delete: "#{caskroom_path}"
uninstall delete: caskroom_path.to_s

zap trash: [
"/var/folders/py/n14256yd5r5ddms88x9bvsv40000gn/C/cn.lceda.pro",
"~/Library/Saved Application State/cn.lceda.pro.savedState",
"~/Library/Application Support/JLCEDA Pro",
"~/Library/Preferences/cn.lceda.pro.plist",
"~/Library/Saved Application State/cn.lceda.pro.savedState",
]
end

0 comments on commit c5a3051

Please sign in to comment.