mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 11:51:47 +00:00
nit: improve comment for shared Array Buffer
This commit is contained in:
2
index.js
2
index.js
@ -28,7 +28,7 @@ app.commandLine.appendSwitch(
|
|||||||
// WebAssembly flags
|
// WebAssembly flags
|
||||||
"--experimental-wasm-threads"
|
"--experimental-wasm-threads"
|
||||||
);
|
);
|
||||||
app.commandLine.appendSwitch('enable-features', "SharedArrayBuffer"); // Fix downloader bug
|
app.commandLine.appendSwitch("enable-features", "SharedArrayBuffer"); // Required for downloader
|
||||||
app.allowRendererProcessReuse = true; // https://github.com/electron/electron/issues/18397
|
app.allowRendererProcessReuse = true; // https://github.com/electron/electron/issues/18397
|
||||||
if (config.get("options.disableHardwareAcceleration")) {
|
if (config.get("options.disableHardwareAcceleration")) {
|
||||||
if (is.dev()) {
|
if (is.dev()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user