1
0
Fork 0
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:
Andrew Simachev 2025-06-03 10:33:42 +02:00
parent 48fea671c8
commit 2981882936
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF

View file

@ -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 {