Open dipunj opened 2 years ago
Yes please! That definitely makes sense for teams and MDM
App seems broken now, but dumping this here in case anyone wants to pick it up…
cask "haiku-animator" do
version_node = "8.15.1"
version_python = "2.7.16"
version "5.1.2"
sha256 "fd18a2a0b8082f6422716524244a22e0b792a2d4e8678a2ed00717b6ce36dea5"
url "https://github.com/HaikuTeam/animator/releases/download/#{version}/Haiku-#{version}.dmg",
verified: "github.com/HaikuTeam/animator/"
name "Haiku"
desc "Create animations for any app or website"
homepage "https://haikuanimator.com/"
livecheck do
url :url
strategy :github_latest
end
depends_on formula: "libgcrypt"
depends_on formula: "nvm"
depends_on formula: "pyenv"
depends_on formula: "yarn"
app "Haiku.app"
preflight do
system <<~EOS
nvm install #{version_node}
nvm alias default #{version_node}
nvm use #{version_node}
pyenv global #{version_python}
EOS
end
zap trash: [
"~/.haiku",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.haiku.haikufordesignersandengineers.sfl*",
"~/Library/Application Support/haiku",
"~/Library/Logs/Haiku",
"~/Library/Preferences/com.Haiku.HaikuForDesignersAndEngineers*.plist",
"~/Library/Saved Application State/com.Haiku.HaikuForDesignersAndEngineers.savedState",
]
end
Hi @gumptious
I came across this awesome project. Adding a brew cask for this project will help us mac users a lot. Would you please consider adding this project as a brew cask ?
Here is the related doc: https://github.com/Homebrew/homebrew-cask/blob/master/doc/development/adding_a_cask.md