From c77a885f2444635f4312343f74fc2c1ee83b1eac Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 21 Jan 2023 19:58:43 +0100 Subject: [PATCH] [Cask] OpenMusic 7.1 --- Casks/openmusic.rb | 32 ++++++++++++++++++++++++++++++++ README.md | 12 ++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 Casks/openmusic.rb diff --git a/Casks/openmusic.rb b/Casks/openmusic.rb new file mode 100644 index 0000000..f740dc2 --- /dev/null +++ b/Casks/openmusic.rb @@ -0,0 +1,32 @@ +cask "openmusic" do + module Utils + def self.date + "09-10-2022" + end + end + + arch arm: "M1", intel: "Intel" + version "7.1" + + sha256 arm: "623742d42bfd87837083ccada3334c0f39dac844ee45db0065807bc2495645f5", + intel: "7ad87c63917f0333f3a5d04cec1e16dc43d30a28dc5de4fcf41a1530e5ec9986" + + url "https://github.com/openmusic-project/openmusic/releases/download/v#{version}/OM-#{version}-macOS-#{arch}-#{Utils.date}.dmg", + verified: "https://github.com/openmusic-project/openmusic" + name "Open Music" + desc "The OpenMusic visual programming / computer-aided composition environment" + homepage "https://openmusic-project.github.io/openmusic/" + + livecheck do + url :url + regex(/^v?(\d+(?:\.\d+)+)$/i) + end + app "OM #{version}.app" + + zap trash: [ + # "~/Library/Application Support/Electron ", + # "~/Library/Caches/Electron", + # "~/Library/Preferences/com.github.electron.helper.plist", + # "~/Library/Preferences/com.github.electron.plist", + ] +end diff --git a/README.md b/README.md index 5d09003..7444415 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ -# homebrew-badhouseplants +# Allanger Badhouseplants -Yet another homebrew tap \ No newline at end of file +## How do I install these formulae? + +`brew install allanger/badhouseplants/` + +Or `brew tap allanger/badhouseplants` and then `brew install `. + +## Documentation + +`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).