cask "heptabase" do arch arm: "-arm64" os macos: "#{arch}-mac.zip", linux: ".AppImage" version "1.112.8" sha256 arm: "5941d4971723291ac356e431935ff2cb97519134aa5c12d7b04ac094685259cf", intel: "7bee246d9d05e611c6cbef050eea7a68bf4daca1541d4ec7e108dc31a0042b65", x86_64_linux: "f9952033dcf643b16163e54fa2994b857c74a3debc6eee493fc3a20ca41d67f3" on_macos do app "Heptabase.app" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.projectmeta.projectmeta.sfl*", "~/Library/Preferences/app.projectmeta.projectmeta.plist", "~/Library/Saved Application State/app.projectmeta.projectmeta.savedState", ] end on_linux do depends_on arch: :x86_64 app_image "Heptabase-#{version}.AppImage", target: "Heptabase.AppImage" zap trash: "~/.config/project-meta" end url "https://github.com/heptameta/project-meta/releases/download/v#{version}/Heptabase-#{version}#{os}" name "Hepta" desc "Note-taking tool for visual learning" homepage "https://heptabase.com/" livecheck do url :url strategy :github_latest end auto_updates true end