fix(in-app-menu): overlay-scrollbar

This commit is contained in:
JellyBrick
2023-10-03 10:45:01 +09:00
parent 5a7774e7b1
commit 2cb05c9d86
5 changed files with 13 additions and 56 deletions

View File

@ -38,7 +38,9 @@ if (!gotTheLock) {
app.exit();
}
app.commandLine.appendSwitch('enable-features', 'SharedArrayBuffer'); // Required for downloader
// SharedArrayBuffer: Required for downloader (@ffmpeg/core-mt)
// OverlayScrollbar: Required for overlay scrollbars
app.commandLine.appendSwitch('enable-features', 'OverlayScrollbar,SharedArrayBuffer');
if (config.get('options.disableHardwareAcceleration')) {
if (is.dev()) {
console.log('Disabling hardware acceleration');