cask "theiaide" do arch arm: "-arm" version "1.76.0" sha256 arm: "0255026338799d83c4277bf3cb43813a858948fbceb4533a2db7e9b6f246229c", intel: "7f5cc227e6291cb50e080a519944f63afcbf8b1c9f6d5f25a90bc23b60bcca12" url "https://download.eclipse.org/theia/ide/#{version}/macos#{arch}/TheiaIDE.dmg" name "TheiaIDE" desc "IDE framework" homepage "https://theia-ide.org/" livecheck do url "https://download.eclipse.org/theia/ide/latest/macos#{arch}/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: :monterey app "TheiaIDE.app" zap trash: [ "~/.theia-ide", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/eclipse.theia.sfl*", "~/Library/Application Support/Theia IDE", "~/Library/Logs/Theia IDE", "~/Library/Preferences/eclipse.theia.plist", "~/Library/Saved Application State/eclipse.theia.savedState", ] end