There was an error while loading. Please reload this page.
1 parent 6716d31 commit 341daf1Copy full SHA for 341daf1
electron/mapi/file/main.ts
@@ -1,4 +1,4 @@
1
-import {dialog, ipcMain, shell} from "electron";
+import {dialog, ipcMain} from "electron";
2
import fileIndex from "./index";
3
4
ipcMain.handle("file:openFile", async (
@@ -17,6 +17,8 @@ ipcMain.handle("file:openFile", async (
17
if (!options.properties.includes("openFile")) {
18
options.properties.push("openFile");
19
}
20
+ // @ts-ignore
21
+ options.properties.push('noResolveAliases');
22
const res = await dialog
23
.showOpenDialog({
24
...options,
0 commit comments