fix: replace CGPreflightScreenCaptureAccess with SCShareableContent on macOS Sequoia#219
Open
hsjin500 wants to merge 1 commit intoJerryZLiu:mainfrom
Open
fix: replace CGPreflightScreenCaptureAccess with SCShareableContent on macOS Sequoia#219hsjin500 wants to merge 1 commit intoJerryZLiu:mainfrom
hsjin500 wants to merge 1 commit intoJerryZLiu:mainfrom
Conversation
…ableContent check macOS Sequoia에서 CGPreflightScreenCaptureAccess()가 TCC 권한이 허용되어 있어도 false를 반환하는 버그 수정. SCShareableContent.excludingDesktopWindows() try/catch 패턴으로 교체하여 실제 권한 상태를 신뢰성 있게 확인하도록 변경. - StorageSettingsViewModel: Settings 상태 체크에서 올바른 권한 표시 - ScreenRecordingPermissionView: onAppear/onReceive/requestPermission 3곳 교체 - OnboardingFlow: 불필요한 CGPreflight guard 제거, SCShareableContent 결과에 의존 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CGPreflightScreenCaptureAccess()가 TCC 권한이 허용(auth_value=2)되어 있어도false를 반환하는 버그 수정SCShareableContent.excludingDesktopWindows()try/catch 패턴으로 교체하여 실제 권한 상태를 신뢰성 있게 확인Changed files (3)
CGPreflightScreenCaptureAccess()→SCShareableContenttry/catch.onAppear,.onReceive,requestPermission()3곳 교체 (동기→비동기)CGPreflightScreenCaptureAccess()guard 제거,SCShareableContent결과에만 의존Test plan
🤖 Generated with Claude Code