1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-20 12:41:16 +01:00

Fixed percentage bug

This commit is contained in:
Feenix 2022-08-17 17:11:54 +05:30
parent 3ea6a45520
commit 912a77d261
2 changed files with 0 additions and 8 deletions

View File

@ -99,13 +99,6 @@ ipcMain.on("open", async () => {
}
);
// let stdoutSave = "";
// upscayl.stdout.on("data", (data) => {
// // TODO: SEND THE STDOUT TO RENDERER FROM HERE
// data = data.toString();
// stdoutSave += data;
// });
upscayl.stderr.on("data", (stderr) => {
console.log(stderr.toString());
stderr = stderr.toString();
@ -115,7 +108,6 @@ ipcMain.on("open", async () => {
upscayl.on("close", (code) => {
console.log("Done upscaling", code);
mainWindow.webContents.send("done");
console.log(stdoutSave);
});
return filePaths[0];

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 2.5 MiB