1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

#2a8nwez: fix

This commit is contained in:
Andrew Simachev 2022-05-17 10:20:18 +03:00
parent ca7e0df1c3
commit 2d745bf79a
2 changed files with 6 additions and 2 deletions

View file

@ -863,7 +863,11 @@ app.on('activate', () => {
app.on('open-url', (e, url) => {
e.preventDefault();
send('route', url.replace(`${protocol}://`, '/'));
if (win) {
send('route', url.replace(`${protocol}://`, '/'));
win.show();
};
});
function send () {