excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / r / rectangle.rb
blob4a9538d53b9246c246df6d42a4674e35108dde93
1 cask "rectangle" do
2   version "0.85"
3   sha256 "4c1502e73d8164cb7479bf4d003dffcbdcb6de2473b3b6112527f26f740dd4c7"
5   url "https://github.com/rxhanson/Rectangle/releases/download/v#{version}/Rectangle#{version}.dmg",
6       verified: "github.com/rxhanson/Rectangle/"
7   name "Rectangle"
8   desc "Move and resize windows using keyboard shortcuts or snap areas"
9   homepage "https://rectangleapp.com/"
11   livecheck do
12     url "https://rectangleapp.com/downloads/updates.xml"
13     strategy :sparkle, &:short_version
14   end
16   auto_updates true
17   depends_on macos: ">= :catalina"
19   app "Rectangle.app"
21   uninstall quit: "com.knollsoft.Rectangle"
23   zap trash: [
24     "~/Library/Application Scripts/com.knollsoft.RectangleLauncher",
25     "~/Library/Application Support/Rectangle",
26     "~/Library/Caches/com.knollsoft.Rectangle",
27     "~/Library/Containers/com.knollsoft.RectangleLauncher",
28     "~/Library/HTTPStorages/com.knollsoft.Rectangle",
29     "~/Library/Preferences/com.knollsoft.Rectangle.plist",
30     "~/Library/WebKit/com.knollsoft.Rectangle",
31   ]
32 end