From 3e5fdcf6b919b52a583845555f8d6f1c466a92da Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 23 Oct 2019 13:19:21 -0700 Subject: [PATCH] Fixes for Electron 7 --- src/main/dock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/dock.js b/src/main/dock.js index d0dc0060..66b25f40 100644 --- a/src/main/dock.js +++ b/src/main/dock.js @@ -34,7 +34,7 @@ function setBadge (count) { if (process.platform === 'darwin' || (process.platform === 'linux' && app.isUnityRunning())) { log(`setBadge: ${count}`) - app.setBadgeCount(Number(count)) + app.badgeCount = Number(count) } }