[Cask] OpenMusic 7.1

This commit is contained in:
Nikolai Rodionov 2023-01-21 19:58:43 +01:00
parent c787997c24
commit c77a885f24
2 changed files with 42 additions and 2 deletions

32
Casks/openmusic.rb Normal file
View File

@ -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

View File

@ -1,3 +1,11 @@
# homebrew-badhouseplants # Allanger Badhouseplants
Yet another homebrew tap ## How do I install these formulae?
`brew install allanger/badhouseplants/<formula>`
Or `brew tap allanger/badhouseplants` and then `brew install <formula>`.
## Documentation
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).