From c8b4bebe1de7f9b65d01c5a936f8e7257e1cce04 Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Tue, 18 Sep 2018 19:08:26 +0800 Subject: [PATCH] Fixed: don't show mini-window in macOS --- src/main/index.js | 4 ++++ yarn.lock | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/index.js b/src/main/index.js index 77fa39a..f50a50b 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -229,6 +229,10 @@ const createMiniWidow = () => { obj.transparent = false } + if (process.platform === 'darwin') { + obj.show = false + } + if (db.read().get('miniWindowOntop').value()) { obj.alwaysOnTop = true } diff --git a/yarn.lock b/yarn.lock index a573e50..7cea083 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6190,7 +6190,7 @@ performance-now@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" -picgo@^1.0.4: +picgo@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/picgo/-/picgo-1.1.0.tgz#b9033815f40a77b7f471e478c33382622ccc54de" dependencies: