版本更新

This commit is contained in:
gyq
2024-09-05 17:33:44 +08:00
parent e17b12687f
commit 9fb67bd8a2
4 changed files with 15841 additions and 17 deletions

View File

@@ -98,6 +98,8 @@ app.whenReady().then(() => {
// 给渲染进程返回打印机列表
ipcMain.on("getPrintList", () => {
win.webContents.getPrintersAsync().then((res) => {
console.log("打印机列表", res);
win.webContents.send("printList", res);
});
});