diff --git a/src/services/window.ts b/src/services/window.ts index 897a6e4da..a2638b9b5 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -53,7 +53,14 @@ ipcMain.on("export-as-pdf", async (e) => { return; } - const filePath = dialog.showSaveDialogSync(browserWindow, {}); + const filePath = dialog.showSaveDialogSync(browserWindow, { + filters: [ + { + name: "PDF", + extensions: [ "pdf" ] + } + ] + }); if (!filePath) { return; }