Files
homebrew-cask/Casks/q/qsync-client.rb

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