From 304c8b9562b87c046c00a84dc1b80d994ca50657 Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Fri, 21 Apr 2017 13:09:49 +1000 Subject: [PATCH] add some docs for Windows usage --- docs/api/dialog.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/dialog.md b/docs/api/dialog.md index 615e3b2c6f93..5dfce2b3abd1 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -176,7 +176,7 @@ it is usually used to report errors in early stage of startup. If called before the app `ready`event on Linux, the message will be emitted to stderr, and no GUI dialog will appear. -### `dialog.showCertificateTrustDialog([browserWindow, ]options, callback)` _macOS_ +### `dialog.showCertificateTrustDialog([browserWindow, ]options, callback)` _macOS_ _Windows_ * `browserWindow` BrowserWindow (optional) * `options` Object @@ -187,8 +187,8 @@ and no GUI dialog will appear. Displays a modal dialog that shows a message and certificate information, and gives the user the option of trusting/importing the certificate. -The `browserWindow` argument allows the dialog to attach itself to a parent -window, making it modal. +On macOS the `browserWindow` argument allows the dialog to attach itself to a parent +window, making it modal. On Windows a modal dialog is not supported. ## Sheets