Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mp3butcher authored Feb 8, 2025
1 parent 3aec406 commit 626c0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function createWindow(env) {
try {
let da3 = fs.readFileSync(path.join(env.paths.ffmpeg, 'virtual_device.wvd'), { encoding: "binary" })
let buf = Buffer.from(da3, 'binary')
.FS.writeFile("/device.wvd", buf, { encoding: "binary" });
pyodide.FS.writeFile("/device.wvd", buf, { encoding: "binary" });
} catch (e) {
win.webContents.openDevTools();
setTimeout(console.log, 1000, 'no virtual device file detected in binaries directory : please consider donation on\nhttps://donorbox.org/youtube-dl-gui')
Expand Down

0 comments on commit 626c0ca

Please sign in to comment.