attempt to fix openDirectory for windows
This commit is contained in:
parent
55a60a9486
commit
c6183f8134
|
@ -114,7 +114,7 @@ export default function setupIpcComs(
|
|||
});
|
||||
|
||||
ipcMain.handle('open-dir', (_, dirPath) => {
|
||||
shell.openPath(dirPath);
|
||||
shell.openPath(path.normalize(dirPath));
|
||||
});
|
||||
|
||||
ipcMain.on('update-and-restart', () => {
|
||||
|
|
Loading…
Reference in a new issue