cask "mbed-studio" do version "1.5.0" sha256 :no_check url "https://studio.mbed.com/installers/latest/mac/MbedStudio.pkg" name "Mbed Studio" desc "IDE for Mbed OS application and library development" homepage "https://os.mbed.com/studio/" livecheck do url :url strategy :header_match end no_autobump! because: :requires_manual_review pkg "MbedStudio.pkg" preflight do staged_path.glob("MbedStudio-*.pkg").first.rename("#{staged_path}/MbedStudio.pkg") end uninstall pkgutil: "com.arm.mbed.studio" zap trash: [ "~/.mbed-library-cache", "~/.mbed-library-pipeline", "~/.mbed-studio", "~/Library/Application Support/Mbed Studio", ] end