You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm making a converter app with ffmpeg, and it with convert the file and so I will save that file into a folder called converted.
so after it gets converted I try and download it using a the path of the converted file it would be like converted/convert.file format selected by user*
ipcMain.on("downloadFile",async(event,data)=>{const{ href, filename }=data;DevLogger.log("**** Downloading file: "+path.join(app.getAppPath(),href);constwin=BrowserWindow.getFocusedWindow();// Note: Both return 1, the browser window is NOT nullconsole.log(event.sender.id,win.id);awaitdownload(win,href,{openFolderWhenDone: true,saveAs: true,
filename,});});
So I'm making a converter app with ffmpeg, and it with convert the file and so I will save that file into a folder called
converted
.so after it gets converted I try and download it using a the path of the converted file it would be like
converted/convert.file format selected by user*
and I get this error
I'm trying to do this through
renderer
tomain
from a stackoverflow question hererenderer:
main:
The text was updated successfully, but these errors were encountered: