Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Casks/i/infinidesk.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Documentation: https://docs.brew.sh/Cask-Cookbook
# https://docs.brew.sh/Adding-Software-to-Homebrew#cask-stanzas
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See this line.

cask "infinidesk" do
version "2.31"
sha256 "d3dfaa3e217c10989771148af4e80d546b0c23ed162eed94062679969c36565c"

url "https://infinidesk.app/static/download/v#{version}/InfiniDesk.dmg"
name "infinidesk"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
name "infinidesk"
name "InfiniDesk"

desc "Create multiple virtual desktops, each with unique files, wallpaper and widgets"
homepage "https://infinidesk.app/"

livecheck do
url :homepage
regex(/Version[^\d]*(\d+(?:\.\d+)+)/i)
strategy :page_match
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
strategy :page_match

PageMatch is the default strategy so can be omitted.

end

depends_on macos: ">= :big_sur"

app "InfiniDesk.app"

# Documentation: https://docs.brew.sh/Cask-Cookbook#stanza-zap
zap trash: [
"~/Library/Application Support/Infinidesk",
"~/Library/Preferences/app.infinidesk.InfiniDesk.plist",
]
end