mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix possible crash
This commit is contained in:
parent
48fea671c8
commit
2981882936
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ if (process.defaultApp) {
|
|||
app.setAsDefaultProtocolClient(protocol, process.execPath, [ path.resolve(process.argv[1]) ]);
|
||||
|
||||
if (!is.macos) {
|
||||
deeplinkingUrl = argv.find(arg => arg.startsWith(`${protocol}://`));
|
||||
deeplinkingUrl = process.argv.find(arg => arg.startsWith(`${protocol}://`));
|
||||
};
|
||||
};
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue