excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / l / linkliar.rb
blob734d01c04035d13ecf09095d094b81025cc7050e
1 cask "linkliar" do
2   on_el_capitan :or_older do
3     version "1.1.3"
4     sha256 "34c9baeaf1d6732c8ce9add689b281f9b71fddadd8f56cca614cba4f8c167962"
5   end
6   on_sierra :or_newer do
7     version "3.0.3"
8     sha256 "36e62eab4ef8d2b004c6886182fc49830afdf56f4f14f9be07adfe552d7140d2"
9   end
11   url "https://github.com/halo/LinkLiar/releases/download/#{version}/LinkLiar.app.zip"
12   name "LinkLiar"
13   desc "Link-Layer MAC spoofing GUI for macOS"
14   homepage "https://github.com/halo/LinkLiar"
16   livecheck do
17     url :url
18     strategy :github_latest
19   end
21   app "LinkLiar.app"
23   uninstall launchctl: [
24               "io.github.halo.linkdaemon",
25               "io.github.halo.linkhelper",
26             ],
27             quit:      "io.github.halo.LinkLiar",
28             delete:    [
29               "/Library/Application Support/io.github.halo.linkdaemon",
30               "/Library/Application Support/LinkLiar",
31             ]
33   # No zap stanza required
34 end