版本更新

This commit is contained in:
gyq
2024-09-06 14:01:55 +08:00
parent 9fb67bd8a2
commit 458b531757
4 changed files with 7 additions and 8 deletions

View File

@@ -15710,7 +15710,7 @@ electron.app.whenReady().then(() => {
}
const installExe = async (exePath) => {
return new Promise((resolve, reject) => {
child_process.exec(`start ${exePath}`, (error, stdout, stderr) => {
child_process.exec(`${exePath}`, (error, stdout, stderr) => {
if (error) {
reject(error);
} else {
@@ -15762,7 +15762,6 @@ electron.app.whenReady().then(() => {
});
electron.ipcMain.on("getPrintList", () => {
win.webContents.getPrintersAsync().then((res) => {
console.log("打印机列表", res);
win.webContents.send("printList", res);
});
});