Skip to content

Commit

Permalink
piezo: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed Apr 17, 2024
1 parent ca9c696 commit 48d317e
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions Casks/p/piezo.rb
Expand Up @@ -6,34 +6,25 @@

url "https://rogueamoeba.com/piezo/download/Piezo.zip"

# NOTE: The `system` value will need to be kept up to date with the latest
# macOS Ventura version (e.g. 1366 for 13.6.6).
livecheck do
url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=1366&bundleid=com.rogueamoeba.Piezo&platform=osx&version=#{version.no_dots}8000"
strategy :sparkle
end

depends_on macos: ">= :big_sur"
end
on_sonoma :or_newer do
version "1.9.1"

url "https://rogueamoeba.com/piezo/download/Piezo-ARK.zip"

# NOTE: The `system` value will need to be kept up to date with the latest
# macOS version (e.g. 1441 for 14.4.1).
livecheck do
url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=1441&bundleid=com.rogueamoeba.Piezo&platform=osx&version=#{version.no_dots}8000"
strategy :sparkle
end

depends_on macos: ">= :sonoma"
end

name "Piezo"
desc "Audio recording application"
homepage "https://rogueamoeba.com/piezo/"

livecheck do
url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=#{MacOS.full_version.to_s.delete(".")}&bundleid=com.rogueamoeba.Piezo&platform=osx&version=#{version.no_dots}8000"
strategy :sparkle
end

auto_updates true

app "Piezo.app"
Expand Down

0 comments on commit 48d317e

Please sign in to comment.