From 1f381ffb9b7a2bc743506b18a7cfeb51e191a868 Mon Sep 17 00:00:00 2001 From: zeppi Date: Sat, 27 Nov 2021 10:24:10 -0500 Subject: [PATCH] do not set default protocol client on linux on startup --- electron/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index 8f0428298..b73653280 100644 --- a/electron/index.js +++ b/electron/index.js @@ -53,7 +53,7 @@ if (isDev && process.platform === 'win32') { app.setAsDefaultProtocolClient(PROTOCOL, process.execPath, [ path.resolve(process.argv[1]), ]); -} else { +} else if (process.platform !== 'linux') { app.setAsDefaultProtocolClient(PROTOCOL); }