attempt to fix openDirectory for windows

This commit is contained in:
Abhinav 2023-05-04 15:43:41 +05:30
parent 55a60a9486
commit c6183f8134

View file

@ -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', () => {