Bump Electron to latest

- Bump Electron to latest.
- Adjust types to new Electron types.
This commit is contained in:
undergroundwires
2024-06-20 10:48:59 +02:00
parent fac26a6ca0
commit ed93614ca3
4 changed files with 15 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ export class NodeElectronSaveFileDialog implements ElectronSaveFileDialog {
if (!dialogResult.filePath) {
return {
success: false,
error: { type: 'DialogDisplayError', message: 'Unexpected Error: File path is undefined after save dialog completion.' },
error: { type: 'DialogDisplayError', message: 'Unexpected Error: File path is empty after save dialog completion.' },
};
}
return { success: true, filePath: dialogResult.filePath };