mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
This commit is contained in:
parent
1963835309
commit
10dd4e45ed
@ -637,7 +637,11 @@ function shimInit(options = null) {
|
||||
}
|
||||
|
||||
// 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 = () => {};
|
||||
|
Loading…
Reference in New Issue
Block a user