Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quickapp-ide 6.6.1 (new cask) #169191

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 25 additions & 0 deletions Casks/q/quickapp-ide.rb
@@ -0,0 +1,25 @@
cask "quickapp-ide" do
version "6.6.1"
sha256 "260be97a98b1b11aef430e82f0c35334b394953810a86f0988152fe21564dc17"

url "https://statres.quickapp.cn/quickapp/show/ide/quickapp-ide-#{version}.pkg"
name "quickapp-ide"
desc "Quickapp Development Tool"
homepage "https://www.quickapp.cn/"

livecheck do
url "https://www.quickapp.cn/api/ide/rpk/getPackage"
regex(/quickapp[._-]ide[._-]v?(\d+(?:\.\d+)+)\.pkg/i)
end

pkg "quickapp-ide-#{version}.pkg"

postflight do
set_ownership "~/.快应用开发工具"
end

Comment on lines +17 to +20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this required, shouldn't this be handled by the pkg installer?

uninstall quit: "cn.quickapp.ide",
pkgutil: "com.mygreatcompany.pkg.quickAppIde"

zap trash: "~/.快应用开发工具"
end