版本更新
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user