diff --git a/Casks/h/hapigo.rb b/Casks/h/hapigo.rb new file mode 100644 index 0000000000..626e09e29e --- /dev/null +++ b/Casks/h/hapigo.rb @@ -0,0 +1,30 @@ +cask "hapigo" do + version "2.11.1" + sha256 :no_check + + url "https://dl.hapigo.com/HapiGo.dmg" + name "HapiGo" + desc "Application launcher and productivity software" + homepage "https://www.hapigo.com/" + + livecheck do + url "https://hapigo.com/update/cast.plist" + regex(%r{version\s*\n\s*(\d+(?:\.\d+)+)}i) + end + + auto_updates true + depends_on macos: ">= :mojave" + + app "HapiGo.app" + + zap trash: [ + "~/Library/Application Support/Hapigo", + "~/Library/Caches/Hapigo", + "~/Library/Caches/com.xunyong.hapigo", + "~/Library/HTTPStorages/com.xunyong.hapigo", + "~/Library/HTTPStorages/com.xunyong.hapigo.binarycookies", + "~/Library/Preferences/com.xunyong.hapigo.plist", + "~/Library/Preferences/com.xunyong.hapigofind.plist", + "~/Library/WebKit/com.xunyong.hapigo", + ] +end