Merge pull request #194004 from Homebrew/bump-binance-1.54.4
[Homebrew/homebrew-cask.git] / Casks / m / mbed-studio.rb
blob985ef71f36c70ac8789f6238427842a5b1381020
1 cask "mbed-studio" do
2   version "1.4.6"
3   sha256 :no_check
5   url "https://studio.mbed.com/installers/latest/mac/MbedStudio.pkg"
6   name "Mbed Studio"
7   desc "IDE for Mbed OS application and library development"
8   homepage "https://os.mbed.com/studio/"
10   livecheck do
11     url :url
12     strategy :header_match
13   end
15   pkg "MbedStudio.pkg"
17   preflight do
18     staged_path.glob("MbedStudio-*.pkg").first.rename("#{staged_path}/MbedStudio.pkg")
19   end
21   uninstall pkgutil: "com.arm.mbed.studio"
23   zap trash: [
24     "~/.mbed-library-cache",
25     "~/.mbed-library-pipeline",
26     "~/.mbed-studio",
27     "~/Library/Application Support/Mbed Studio",
28   ]
29 end