mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
33 lines
1.1 KiB
Ruby
33 lines
1.1 KiB
Ruby
cask "qspace-pro" do
|
|
version "4.1.2"
|
|
sha256 "089e4e283e94e4e07bd5598eafae7c300242e6a40964ca86f55bd50789b2d4cb"
|
|
|
|
url "https://cdn.awehunt.com/qs/rel/QSpace%20Pro_V#{version}.dmg"
|
|
name "QSpace Pro"
|
|
desc "Better Finder alternative"
|
|
homepage "https://qspace.awehunt.com/"
|
|
|
|
livecheck do
|
|
url "https://qspace.awehunt.com/en-us/index.html"
|
|
regex(%r{href=.*?/QSpace%20Pro[._-]V?(\d+(?:\.\d+)+)\.dmg}i)
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :sierra"
|
|
|
|
app "QSpace Pro.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/com.jinghaoshe.qspace.pro.StashShelfShareExtension",
|
|
"~/Library/Application Support/com.jinghaoshe.qspace.pro",
|
|
"~/Library/Caches/com.jinghaoshe.qspace.pro",
|
|
"~/Library/Containers/com.jinghaoshe.qspace.pro.StashShelfShareExtension",
|
|
"~/Library/HTTPStorages/com.jinghaoshe.qspace.pro",
|
|
"~/Library/HTTPStorages/com.jinghaoshe.qspace.pro.binarycookies",
|
|
"~/Library/Preferences/com.jinghaoshe.qspace.pro.plist",
|
|
"~/Library/Saved Application State/com.jinghaoshe.qspace.pro.savedState",
|
|
"~/Library/WebKit/com.jinghaoshe.qspace.pro",
|
|
"~/QSpace",
|
|
]
|
|
end
|