This commit is contained in:
yuchenglong
2025-12-09 13:55:52 +08:00
7 changed files with 101 additions and 6 deletions

2
src/electron.d.ts vendored
View File

@@ -14,7 +14,7 @@ interface ElectronAPI {
) => Promise<{ success: boolean; data?: string; error?: string }>;
printPdf: (
pdfUrl: string,
options?: { printerName?: string }
options?: { printerName?: string; duplex?: boolean }
) => Promise<{ success: boolean; error?: string }>;
getPrinters: () => Promise<{
success: boolean;