Skip to content

Commit caf0874

Browse files
committed
fix: remove orphaned photos import
1 parent ba3e8a8 commit caf0874

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ This native Node.js module allows you to manage an app's access to:
1313
* Full Disk Access
1414
* Calendar
1515
* Reminders
16-
* Photos
1716
* Camera
1817
* Microphone
1918
* Accessibility
@@ -24,7 +23,7 @@ This native Node.js module allows you to manage an app's access to:
2423

2524
## `permissions.getAuthStatus(type)`
2625

27-
* `type` String - The type of system component to which you are requesting access. Can be one of `accessibility`, `calendar`, `camera`, `contacts`, `full-disk-access`, `location`, `microphone`, `photos`, `screen`, or `reminders`.
26+
* `type` String - The type of system component to which you are requesting access. Can be one of `accessibility`, `calendar`, `camera`, `contacts`, `full-disk-access`, `location`, `microphone`, `screen`, or `reminders`.
2827

2928
Returns `String` - Can be one of `not determined`, `denied`, `authorized`, or `restricted`.
3029

@@ -243,7 +242,4 @@ $ tccutil reset Camera
243242

244243
# Reset Microphone access permissions
245244
$ tccutil reset Microphone
246-
247-
# Reset Photos access permissions
248-
$ tccutil reset Photos
249245
```

binding.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ],
2020
"xcode_settings": {
2121
"OTHER_CPLUSPLUSFLAGS": ["-std=c++14", "-stdlib=libc++", "-mmacosx-version-min=10.10"],
22-
"OTHER_LDFLAGS": ["-framework CoreFoundation -framework CoreLocation -framework AppKit -framework Contacts -framework EventKit -framework Photos -framework AVFoundation"]
22+
"OTHER_LDFLAGS": ["-framework CoreFoundation -framework CoreLocation -framework AppKit -framework Contacts -framework EventKit -framework AVFoundation"]
2323
}
2424
}]
2525
}

permissions.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#import <CoreLocation/CoreLocation.h>
88
#import <EventKit/EventKit.h>
99
#import <Foundation/Foundation.h>
10-
#import <Photos/Photos.h>
1110
#import <pwd.h>
1211

1312
/***** HELPER FUNCTIONS *****/

0 commit comments

Comments
 (0)