downloader fixes

* --experimental-wasm-bulk-memory
* SharedArrayBuffer
* getFolder from front
* ytdl-core 4.9.2
This commit is contained in:
Araxeus
2021-12-16 19:15:55 +02:00
parent 49edbf723f
commit baeebd1959
5 changed files with 16 additions and 16 deletions

View File

@ -26,8 +26,9 @@ const app = electron.app;
app.commandLine.appendSwitch(
"js-flags",
// WebAssembly flags
"--experimental-wasm-threads --experimental-wasm-bulk-memory"
"--experimental-wasm-threads"
);
app.commandLine.appendSwitch('enable-features', "SharedArrayBuffer"); // Fix downloader bug
app.allowRendererProcessReuse = true; // https://github.com/electron/electron/issues/18397
if (config.get("options.disableHardwareAcceleration")) {
if (is.dev()) {