cask "qspace-pro" do version "5.1.2" sha256 "3c43b29a75c4ccf77266b2d9d04fccd44ba51d2543098a98a4f051f7e9e09fe8" 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