Closed gbaranski closed 2 years ago
@gbaranski @dotWee Thank you for your issue! I also want to introduce homebrew cask to this project. I'll check the resources. Thank you again!
No problems. Thanks for your work! I really enjoy your application.
Also, you may want to check out Sparkle, a well known framework for (self) updating macOS applications outside of the App Store.
Nice to read that this app will be implemented in Homebrew.
@dotWee has listed a good starting point.
cask "devtoysmac" do version "V0.0.6" sha256 "1770202ee4cb3bc45f2100992dceb308f606b130529d70d71abff1e11ad76f28" url "https://github.com/ObuchiYuki/DevToysMac/releases/download/0.0.6/DevToys.zip" name "DevToysMac" desc "This is the mac app version of Windows DevToys!" homepage "https://github.com/ObuchiYuki/DevToysMac" app "DevToys.app" zap trash: [ "~/Library/Preferences/com.yuki.DevToys.plist", ] end
One small optimization I noticed: For the URL, the version should be set variable:
url "https://github.com/ObuchiYuki/DevToysMac/releases/download/#{version}/DevToys.zip"
With this update, the cask will be very easy to update, for example with
brew bump-cask-pr --version <new_version> devtoysmac
See also CONTRIBUTING.md#updating-a-cask in the Homebrew repository.
https://github.com/Homebrew/homebrew-cask/pull/119273 has been submitted.
I can confirm this. You can install the tool with this command:
brew install --cask devtoys
Thanks @SeanSith
thanks,
closed by https://github.com/Homebrew/homebrew-cask/pull/119273
@dotWee @gbaranski @SeanSith @mheob
Thank you so much for your support for brew! I don't have much knowledge of brew and this cooperation really helped me!
This is a basic working cask formula that serves the current release V0.0.6:
It can be tested by installing it from my testing tap:
brew install dotwee/repo/devtoysmac
Since I'm not the maintainer and do not actively follow the development, I won't create a pull request for merging into the public main repo.
Some resources for the maintainer @ObuchiYuki:
brew create URL
to create a basic formulaLess relevant: