mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
This commit is contained in:
parent
1963835309
commit
10dd4e45ed
@ -637,7 +637,11 @@ function shimInit(options = null) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Open the file
|
// Open the file
|
||||||
return shim.openUrl(`file://${filepath}`);
|
// Don't use openUrl() there.
|
||||||
|
// The underneath require('electron').shell.openExternal() has a bug
|
||||||
|
// https://github.com/electron/electron/issues/31347
|
||||||
|
|
||||||
|
return shim.electronBridge().openItem(filepath);
|
||||||
};
|
};
|
||||||
|
|
||||||
shim.waitForFrame = () => {};
|
shim.waitForFrame = () => {};
|
||||||
|
Loading…
Reference in New Issue
Block a user