From 1edb463800351205774b8d0f2f52c088573c73a0 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Mon, 10 Jun 2024 13:21:17 -0400 Subject: [PATCH] defer removal until #650 is resolved --- main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.js b/main.js index 6f4ef5961..a8e6980f5 100644 --- a/main.js +++ b/main.js @@ -4,6 +4,9 @@ const { autoUpdater } = require('electron-updater'); const { onFirstRunMaybe } = require('./first-run'); const path = require('node:path'); +// TODO: Remove @electron/remote use - see #650 +require('@electron/remote/main').initialize(); + const idleIcon = path.join(__dirname, 'assets', 'images', 'tray-idle.png'); const activeIcon = path.join(__dirname, 'assets', 'images', 'tray-active.png');