load file

This commit is contained in:
zhandouxiaojiji committed 2020-10-14 15:18:27 +08:00
1 parent 001d122e5a
commit 3ed022af37
2 files changed
+10 -1

No files matched your search

-1
View File
@@ -17,7 +17,6 @@ export function initMenu(mainWindow: BrowserWindow) {
{name: "Json", extensions:['json']}
]
});
console.log("open res", res);
mainWindow.webContents.send(MainEventType.OPEN_FILE, res.filePaths[0]);
})();
}