X Tutup
Skip to content

Commit baced31

Browse files
MarshallOfSoundcodebytere
authored andcommitted
Mark securityScopedBookmarks as optional and a boolean (electron#11901)
1 parent ae65938 commit baced31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The `dialog` module has the following methods:
5050
as a directory instead of a file.
5151
* `message` String (optional) _macOS_ - Message to display above input
5252
boxes.
53-
* `securityScopedBookmarks` _masOS_ _mas_ - Create [security scoped bookmarks](https://developer.apple.com/library/content/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW16) when packaged for the Mac App Store.
53+
* `securityScopedBookmarks` Boolean (optional) _masOS_ _mas_ - Create [security scoped bookmarks](https://developer.apple.com/library/content/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW16) when packaged for the Mac App Store.
5454
* `callback` Function (optional)
5555
* `filePaths` String[] - An array of file paths chosen by the user
5656
* `bookmarks` String[] _macOS_ _mas_ - An array matching the `filePaths` array of base64 encoded strings which contains security scoped bookmark data. `securityScopedBookmarks` must be enabled for this to be populated.

0 commit comments

Comments
 (0)
X Tutup