Files
homebrew-cask/Casks/h/hookmark.rb
Peter Murray cd43fdac51 hookmark 6.0.1
Since there isn't a way to [fake a user
agent](https://github.com/Homebrew/brew/issues/12038), this update was
constructed by hand rather than by `bump-cask-pr`
2023-10-25 17:44:44 -04:00

32 lines
975 B
Ruby

cask "hookmark" do
version "6.0.1,2023.10"
sha256 "02a961aec10781723592f093dd24b10b95cc77882babeadff1cbb8b693c17126"
url "https://hookproductivity.com/wp-content/uploads/#{version.csv.second.major}/#{version.csv.second.minor}/Hookmark-app-#{version.csv.first}.dmg_.zip",
user_agent: :fake
name "Hook"
desc "Link and retrieve key information"
homepage "https://hookproductivity.com/"
livecheck do
skip "No reliable way to get version info"
end
auto_updates true
depends_on macos: ">= :el_capitan"
app "Hookmark.app"
uninstall launchctl: "com.cogsciapps.hookautolaunchhelper",
quit: "com.cogsciapps.hook"
zap trash: [
"~/Library/Application Support/com.cogsciapps.hook",
"~/Library/Caches/com.cogsciapps.hook",
"~/Library/HTTPStorages/com.cogsciapps.hook",
"~/Library/Logs/com.cogsciapps.hook",
"~/Library/Preferences/com.cogsciapps.hook.plist",
"~/Library/WebKit/com.cogsciapps.hook",
]
end