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:
parent
3ea6a45520
commit
912a77d261
@ -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 |
Loading…
x
Reference in New Issue
Block a user