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:
parent
ca7e0df1c3
commit
2d745bf79a
2 changed files with 6 additions and 2 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue