3 sha256 "9b91b3356ccbc880ab9b3e8a838a82aec18ff513b2a8b313218b5d63c7817c94"
5 url "https://www.algodoo.com/download/Algodoo_#{version.dots_to_underscores}-macOS.dmg"
7 desc "Draw and interact with physical systems"
8 homepage "https://www.algodoo.com/"
11 url "https://www.algodoo.com/download/"
12 regex(/href=.*?Algodoo[._-]v?(\d+(?:[._]\d+)+)[._-]macOS\.dmg/i)
13 strategy :page_match do |page, regex|
14 page.scan(regex)&.map { |match| match[0].tr("_", ".") }
21 "~/Library/Application Support/Algodoo",
22 "~/Library/Preferences/se.algoryx.Algodoo.plist",
23 "~/Library/Saved Application State/se.algoryx.algodoo-regular.savedState",