mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: updating yarn.lock
This commit is contained in:
parent
9e648fed28
commit
072b4dc4d3
5 changed files with 62 additions and 51 deletions
|
|
@ -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, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue