mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
31 lines
955 B
Ruby
31 lines
955 B
Ruby
cask "qsync-client" do
|
|
version "5.0.10.0928"
|
|
sha256 "f0b0a24af056f1c9bf2ffaf7a157fd91d5a55896e2bb690e46dbda5349a44950"
|
|
|
|
url "https://download.qnap.com/Storage/Utility/QNAPQsyncClientMac-#{version}.dmg"
|
|
name "Qnap Qsync"
|
|
desc "Automatic file synchronization"
|
|
homepage "https://www.qnap.com/en/utilities/essentials#utliity_3"
|
|
|
|
livecheck do
|
|
url "https://update.qnap.com/SoftwareRelease.xml"
|
|
regex(/QNAPQsyncClientMac[._-]v?(\d+(?:\.\d+)+)\.dmg/i)
|
|
end
|
|
|
|
installer manual: "Qsync Client.pkg"
|
|
|
|
uninstall pkgutil: "com.qnap.qsync",
|
|
quit: [
|
|
"com.qnap.qsync",
|
|
"com.qnap.qsync.findersync",
|
|
]
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.qnap.qsync",
|
|
"~/Library/Application Scripts/com.qnap.qsync.findersync",
|
|
"~/Library/Containers/com.qnap.qsync",
|
|
"~/Library/Containers/com.qnap.qsync.findersync",
|
|
"~/Library/Group Containers/group.com.qnap.qsync",
|
|
]
|
|
end
|