Files
homebrew-cask/Casks/m/mathcha-notebook.rb
Mike McQuaid aa461148bb Move all remaining casks to sharded subdirectories.
The migration of `orka.rb` and then `o*.rb` has worked well without
complaint so: let's move everything else, too.
2023-08-09 12:08:38 +01:00

26 lines
734 B
Ruby

cask "mathcha-notebook" do
version "1.0.440"
sha256 "e78161427d6c06c66dbccf01ad1a111a24478b6db8a20a3031356239c0b4cf81"
url "https://notebook-downloads.mathcha.io/public/Mathcha%20Notebook-#{version}-mac.zip"
name "Mathcha Notebook"
desc "Mathematics editor"
homepage "https://www.mathcha.io/"
livecheck do
url "https://notebook-downloads.mathcha.io/public/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Mathcha Notebook.app"
zap trash: [
"~/Library/Application Support/Mathcha Notebook",
"~/Library/Logs/Mathcha Notebook",
"~/Library/Preferences/mathcha.com.mathnotebook.plist",
"~/Library/Saved Application State/mathcha.com.mathnotebook.savedState",
]
end