Skip to content

Commit

Permalink
Merge pull request #197109 from Homebrew/update-find-empty-folders
Browse files Browse the repository at this point in the history
find-empty-folders: update livecheck, use versioned url
  • Loading branch information
bevanjkay authored Jan 3, 2025
2 parents 174c84c + 9c6ee74 commit 924ca88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Casks/f/find-empty-folders.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
cask "find-empty-folders" do
version "1.3.1"
sha256 :no_check
sha256 "3b494e5015d16bf8658b0685f34a79098f23bb166f8881d27ae6bca6668ce77b"

url "https://files.tempel.org/FindEmptyFolders/FindEmptyFolders.zip"
url "https://files.tempel.org/FindEmptyFolders/FindEmptyFolders-#{version}.zip"
name "Find Empty Folders"
desc "Finds empty folders"
homepage "https://www.tempel.org/FindEmptyFolders"

livecheck do
url :homepage
regex(/>\s*Current\s*Version:\s*v?(\d+(?:\.\d+)+)\s*/i)
url "https://files.tempel.org/FindEmptyFolders/"
regex(/href=.*?FindEmptyFolders[._-]v?(\d+(?:\.\d+)+)\.zip/i)
end

app "Find Empty Folders.app"
Expand Down

0 comments on commit 924ca88

Please sign in to comment.