mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Desktop: Fixes #3366: Revealing file in Windows did not work
This commit is contained in:
parent
17e140ba56
commit
f3dc3602c8
@ -1,5 +1,5 @@
|
||||
const { _, setLocale } = require('lib/locale.js');
|
||||
const { dirname } = require('lib/path-utils.js');
|
||||
const { dirname, toSystemSlashes } = require('lib/path-utils.js');
|
||||
const { BrowserWindow, nativeTheme } = require('electron');
|
||||
|
||||
class Bridge {
|
||||
@ -30,7 +30,7 @@ class Bridge {
|
||||
}
|
||||
|
||||
showItemInFolder(fullPath) {
|
||||
return require('electron').shell.showItemInFolder(fullPath);
|
||||
return require('electron').shell.showItemInFolder(toSystemSlashes(fullPath));
|
||||
}
|
||||
|
||||
newBrowserWindow(options) {
|
||||
|
Loading…
Reference in New Issue
Block a user