cask "timeular" do arch arm: "-m1-arm64" livecheck_folder = on_arch_conditional arm: "m1", intel: "latest" version "6.8.5" sha256 arm: "bcc572f0c3d2d266dd388320ec0b48820b363b2b1664be78e4b59089bcebe7e2", intel: "e3dbf1e2932f50f1690a436c51da430ec846942d2b33bc1e59254c599a2debf3" url "https://timeular-desktop-packages.s3.amazonaws.com/mac/production/Timeular-#{version}#{arch}.dmg", verified: "timeular-desktop-packages.s3.amazonaws.com/" name "Timeular" desc "Time tracking aided by a physical device" homepage "https://timeular.com/" livecheck do url "https://timeular-desktop-packages.s3.amazonaws.com/mac/production/#{livecheck_folder}-mac.yml" strategy :electron_builder do |item| item["version"]&.split("-")&.first end end auto_updates true app "Timeular.app" zap trash: [ "~/Library/Application Support/Timeular", "~/Library/Logs/Timeular", "~/Library/Preferences/com.timeular.zei.plist", ] end