chore: updating yarn.lock

This commit is contained in:
Hydra 2024-05-07 09:40:51 +01:00
parent 9e648fed28
commit 072b4dc4d3
No known key found for this signature in database
5 changed files with 62 additions and 51 deletions

View file

@ -7,8 +7,10 @@ const showOpenDialog = async (
options: Electron.OpenDialogOptions
) => {
if (WindowManager.mainWindow) {
dialog.showOpenDialog(WindowManager.mainWindow, options);
return dialog.showOpenDialog(WindowManager.mainWindow, options);
}
throw new Error("Main window is not available");
};
registerEvent(showOpenDialog, {