Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
48 changes: 48 additions & 0 deletions Casks/sunshine-beta.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
cask "sunshine-beta" do
arch arm: "arm64", intel: "x86_64"

version "2026.1"
sha256 arm: "341af3294d656e3b045ec740e51d67682dec8f5af032e400c8fd2287feb75445",
intel: "9cc3c46a6fbb33878b30a1bf64c92b21c9704e6378e90e7552b5d4ecdfd9ad4c"

url "https://github.com/LizardByte/Sunshine/releases/download/v#{version}/Sunshine-macOS-#{arch}.dmg"
name "Sunshine"
desc "Self-hosted game stream host for Moonlight"
homepage "https://app.lizardbyte.dev/Sunshine"

livecheck do
url :url
regex(/^v?(\d+(?:\.\d+)+)$/i)
strategy :github_releases do |json, regex|
json.map do |release|
next if release["draft"]

match = release["tag_name"]&.match(regex)
next if match.blank?

match[1]
end
end
end

conflicts_with cask: "sunshine"
depends_on macos: :sonoma

app "Sunshine.app"

uninstall quit: "dev.lizardbyte.app.Sunshine"

zap trash: [
"~/.config/sunshine",
"~/Library/Preferences/dev.lizardbyte.app.Sunshine.plist",
"~/Library/Saved Application State/dev.lizardbyte.app.Sunshine.savedState",
]

caveats <<~EOS
#{token} uses the same configuration directory (~/.config/sunshine) as the
lizardbyte/homebrew/sunshine formula. Do not run both at the same time.

Grant Sunshine access in System Settings > Privacy & Security > Screen Recording
(and Microphone, if streaming audio) the first time it is launched.
EOS
end
39 changes: 39 additions & 0 deletions Casks/sunshine.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
cask "sunshine" do
arch arm: "arm64", intel: "x86_64"

version "2026.9"
sha256 arm: "c011f017b300100f5c51de67abb8380f49484b9d936fb33e714881722ee267ce",
intel: "e344bd61727768e1abec2fc4c8035ed843c914bf6ad15d18bb720c75c87cd1d2"

url "https://github.com/LizardByte/Sunshine/releases/download/v#{version}/Sunshine-macOS-#{arch}.dmg"
name "Sunshine"
desc "Self-hosted game stream host for Moonlight"
homepage "https://app.lizardbyte.dev/Sunshine"

livecheck do
url :url
regex(/^v?(\d+(?:\.\d+)+)$/i)
strategy :github_latest
end

conflicts_with cask: "sunshine-beta"
depends_on macos: :sonoma

app "Sunshine.app"

uninstall quit: "dev.lizardbyte.app.Sunshine"

zap trash: [
"~/.config/sunshine",
"~/Library/Preferences/dev.lizardbyte.app.Sunshine.plist",
"~/Library/Saved Application State/dev.lizardbyte.app.Sunshine.savedState",
]

caveats <<~EOS
#{token} uses the same configuration directory (~/.config/sunshine) as the
lizardbyte/homebrew/sunshine formula. Do not run both at the same time.

Grant Sunshine access in System Settings > Privacy & Security > Screen Recording
(and Microphone, if streaming audio) the first time it is launched.
EOS
end
3 changes: 3 additions & 0 deletions audit_exceptions/github_prerelease_allowlist.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"sunshine-beta": "any"
}
Loading