excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / audiorelay.rb
blob37d2542a7c722efbc8c3fb4f3993fb0e47d95903
1 cask "audiorelay" do
2   arch arm: "-aarch64"
3   livecheck_arch = on_arch_conditional arm: "Aarch64"
5   version "0.27.5"
6   sha256 arm:   "858f25bf5d6a9057349e70bb0472919d687d42ed158f07f468682dd6066ce20d",
7          intel: "3156111b07a7a6e7562e1ebf9c83ed69205a301501e2a1a37111cb6361737db5"
9   url "https://dl.audiorelay.net/setups/macos/AudioRelay-#{version}#{arch}.dmg"
10   name "AudioRelay"
11   desc "Stream audio between your devices"
12   homepage "https://www.audiorelay.net/"
14   livecheck do
15     url "https://api.audiorelay.net/downloads"
16     strategy :json do |json|
17       json.dig("macOs#{livecheck_arch}", "version")
18     end
19   end
21   auto_updates true
22   depends_on macos: ">= :high_sierra"
24   app "AudioRelay.app"
26   zap trash: [
27     "~/Library/Application Support/AudioRelay",
28     "~/Library/Logs/AudioRelay",
29     "~/Library/Preferences/com.azefsw.audioconnect.plist",
30   ]
31 end