From baced3152f38501fd735c48315914308a89df552 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Tue, 13 Feb 2018 05:48:45 +1100 Subject: [PATCH] Mark securityScopedBookmarks as optional and a boolean (#11901) --- docs/api/dialog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/dialog.md b/docs/api/dialog.md index 51774e5b07..a69cba8b96 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -50,7 +50,7 @@ The `dialog` module has the following methods: as a directory instead of a file. * `message` String (optional) _macOS_ - Message to display above input boxes. - * `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. + * `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. * `callback` Function (optional) * `filePaths` String[] - An array of file paths chosen by the user * `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.