homebrew-cask/Casks/usbimager.rb

20 lines
617 B
Ruby

cask "usbimager" do
version "1.0.9"
sha256 "146e6e78457f28d15840c92952c84578b7e2c934fbba0ce965cee53be7382015"
url "https://gitlab.com/bztsrc/usbimager/raw/binaries/usbimager_#{version}-intel-macosx-cocoa.zip",
verified: "gitlab.com/bztsrc/usbimager/"
name "USBImager"
desc "Very minimal GUI app that can write/read to disk images and USB drives"
homepage "https://bztsrc.gitlab.io/usbimager/"
livecheck do
url :homepage
regex(%r{/usbimager[._-]v?(\d+(?:\.\d+)+)[._-][^"' >]*?macosx?[^"' >]*?\.zip}i)
end
app "USBImager.app"
zap trash: "~/Library/Preferences/usbimager.plist"
end