do not set default protocol client on linux on startup
This commit is contained in:
parent
ef2c53f678
commit
1f381ffb9b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue