do not set default protocol client on linux on startup

This commit is contained in:
zeppi 2021-11-27 10:24:10 -05:00 committed by jessopb
parent ef2c53f678
commit 1f381ffb9b

View file

@ -53,7 +53,7 @@ if (isDev && process.platform === 'win32') {
app.setAsDefaultProtocolClient(PROTOCOL, process.execPath, [ app.setAsDefaultProtocolClient(PROTOCOL, process.execPath, [
path.resolve(process.argv[1]), path.resolve(process.argv[1]),
]); ]);
} else { } else if (process.platform !== 'linux') {
app.setAsDefaultProtocolClient(PROTOCOL); app.setAsDefaultProtocolClient(PROTOCOL);
} }