kopia lustrzana https://github.com/inkstitch/inkstitch
specify pdf output format (#2341)
rodzic
564944effc
commit
a2c5922327
|
@ -68,6 +68,7 @@ function createWindow() {
|
|||
const saveOpt = {
|
||||
title: "Save PDF",
|
||||
defaultPath: "Inkstitch.pdf",
|
||||
filters: [{ name: 'PDF', extensions: ['pdf'] }],
|
||||
bookmark: "true",
|
||||
}
|
||||
win.webContents.printToPDF({}).then(pageSize => {
|
||||
|
|
Ładowanie…
Reference in New Issue