mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
Merge remote-tracking branch 'upstream/dev' into fix/electron-nextjs
This commit is contained in:
commit
96da8498e6
27 changed files with 362 additions and 191 deletions
|
|
@ -60,6 +60,11 @@ export function setupDeepLinks(): boolean {
|
|||
app.setAsDefaultProtocolClient(PROTOCOL);
|
||||
}
|
||||
|
||||
// Cold-start on Windows/Linux: protocol URL arrives via argv of the
|
||||
// first instance, not via `second-instance` or `open-url`.
|
||||
const cold = process.argv.find((arg) => arg.startsWith(`${PROTOCOL}://`));
|
||||
if (cold) handleDeepLink(cold);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue