Skip to content

Commit b713fea

Browse files
committed
chore: 10.16 -> 11
1 parent 4f2d17c commit b713fea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

permissions.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ bool HasOpenSystemPreferencesDialog() {
167167
// Returns a status indicating whether the user has authorized Apple Music
168168
// Library access.
169169
std::string MusicLibraryAuthStatus() {
170-
if (@available(macOS 10.16, *)) {
170+
if (@available(macOS 11, *)) {
171171
switch ([SKCloudServiceController authorizationStatus]) {
172172
case SKCloudServiceAuthorizationStatusAuthorized:
173173
return kAuthorized;
@@ -686,7 +686,7 @@ void AskForFullDiskAccess(const Napi::CallbackInfo &info) {
686686
Napi::ThreadSafeFunction ts_fn = Napi::ThreadSafeFunction::New(
687687
env, Napi::Function::New(env, NoOp), "musicLibraryCallback", 0, 1);
688688

689-
if (@available(macOS 10.16, *)) {
689+
if (@available(macOS 11, *)) {
690690
std::string auth_status = MusicLibraryAuthStatus();
691691

692692
if (auth_status == kNotDetermined) {

0 commit comments

Comments
 (0)