cask "qflipper" do version "1.3.3" sha256 "893dd16e79ccfeb26f4adc1e36a03390a51e8baf51303df824b9fac90d46d434" url "https://update.flipperzero.one/builds/qFlipper/#{version}/qFlipper-#{version}.dmg" name "qFlipper" desc "Companion app for Flipper Zero devices" homepage "https://update.flipperzero.one/" livecheck do url "https://update.flipperzero.one/builds/qFlipper/" regex(%r{href=["']?v?(\d+(?:\.\d+)+)/?["' >]}i) end app "qFlipper.app" binary "#{appdir}/qFlipper.app/Contents/MacOS/qFlipper-cli" zap trash: [ "~/Library/Preferences/com.flipperdevices.qFlipper.plist", "~/Library/Preferences/com.flipperzero-one.qFlipper.plist", "~/Library/Saved Application State/test.qFlipper.savedState", ] end