From 1672cffe96cd8226d3c60b386151f5e93294c192 Mon Sep 17 00:00:00 2001 From: Jakub Biesiada Date: Sat, 1 Dec 2018 02:02:36 +0100 Subject: [PATCH] docs: update mojave-dark-mode-guide.md (#15888) * Update mojave-dark-mode-guide.md Add info about dark mode support in electron-builder * Update mojave-dark-mode-guide.md * Update mojave-dark-mode-guide.md --- docs/tutorial/mojave-dark-mode-guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tutorial/mojave-dark-mode-guide.md b/docs/tutorial/mojave-dark-mode-guide.md index ede8fa5857a9..e5e88913baf6 100644 --- a/docs/tutorial/mojave-dark-mode-guide.md +++ b/docs/tutorial/mojave-dark-mode-guide.md @@ -29,6 +29,8 @@ If you are using [`electron-packager` >= 12.2.0](https://github.com/electron-use [`darwinDarkModeSupport`](https://github.com/electron-userland/electron-packager/blob/master/docs/api.md#darwindarkmodesupport) option when packaging and this key will be set for you. +If you are using [`electron-builder` >= 20.37.0](https://github.com/electron-userland/electron-builder) you can set the [`darkModeSupport`](https://www.electron.build/configuration/mac.html) option. + ## Automatically updating your own interfaces If your app has its own dark mode you should toggle it on and off in sync with the system's dark mode setting. You can do