Commit Graph
2 Commits
Author SHA1 Message Date
Dave Lane 28205dedb8 fix(permissions): stabilize macOS permission requests
Persist screen capture and Post Event request history so startup avoids
repeating native prompts while still guiding users to Settings after
consent is removed. Retry Post Event on demand, open recording settings
before probing system audio, and route Local Network to Network Settings
on macOS 15 and newer.

Propagate tray exit to global shutdown so macOS Quit & Reopen releases
Sunshine's ports before relaunch. Update Web UI guidance, documentation,
and tests for macOS 14 through 27.
2026-09-28 19:53:53 -04:00
Dave Lane 270b280afe feat(permissions): expose platform access and restart after grants
Add a shared permission status model and authenticated Web UI endpoints.
Show required and optional access on the Home and Troubleshooting pages,
with native request actions or platform setup guidance as appropriate.

Request screen capture, input, microphone, and optional notifications at
macOS startup. Probe System Audio Recording with a temporary tap and show
Local Network and System Audio as on-use where passive checks are unavailable.
Check virtual input device access on Linux and FreeBSD and configuration
directory access on Windows.

When verifiable required access is missing at launch, restart Sunshine once
after the running process can confirm it was granted. Document the platform
limits and add native, HTTP, and Web UI tests for the new behavior.
2026-09-28 16:15:22 -04:00