This commit is contained in:
fofolee 2019-09-05 00:18:45 +08:00
parent eb3c7f3b36
commit c6020e81be

View File

@ -50,7 +50,7 @@ cacheIco = (b64, icon) => {
} }
openFolder = options => { openFolder = options => {
return dialog.showOpenDialog(BrowserWindow.getFocusedWindow(), options); return dialog.showOpenDialogSync(BrowserWindow.getFocusedWindow(), options);
} }
saveFile = (options, content) => { saveFile = (options, content) => {