29 lines
751 B
Ruby
29 lines
751 B
Ruby
cask "tencent-docs" do
|
|
arch arm: "Arm64", intel: "X64"
|
|
|
|
version "3.1.8,25"
|
|
sha256 :no_check
|
|
|
|
url "https://down.qq.com/qqweb/mac_docs/MacTencentDocs#{arch}.dmg"
|
|
name "Tencent Docs"
|
|
name "腾讯文档"
|
|
desc "Online editor for Word, Excel and PPT documents"
|
|
homepage "https://docs.qq.com/"
|
|
|
|
livecheck do
|
|
# curl \
|
|
# -H 'content-type: application/json' \
|
|
# --data-binary \
|
|
# '{"pull_item":{"app_id":"936c3190-4a5a-4608-ac9e-d37fe33f40be","group":"DOWNLOAD.release-note-mac"}}' \
|
|
# https://docs.qq.com/config.v2.ConfigService/PullConfigReq
|
|
url :url
|
|
strategy :extract_plist
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "腾讯文档.app"
|
|
|
|
zap trash: "~/Library/Preferences/com.tencent.mac.tdappdesktop.plist"
|
|
end
|