load file
This commit is contained in:
1 parent
001d122e5a
commit
3ed022af37
2 files changed
+10
-1
No files matched your search
@@ -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]);
|
||||
})();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user