mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 03:41:46 +00:00
@ -82,11 +82,15 @@ if (!gotTheLock) {
|
|||||||
app.exit();
|
app.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ozone platform hint: Required for Wayland support
|
||||||
|
app.commandLine.appendSwitch('ozone-platform-hint', 'auto');
|
||||||
// SharedArrayBuffer: Required for downloader (@ffmpeg/core-mt)
|
// SharedArrayBuffer: Required for downloader (@ffmpeg/core-mt)
|
||||||
// OverlayScrollbar: Required for overlay scrollbars
|
// OverlayScrollbar: Required for overlay scrollbars
|
||||||
|
// UseOzonePlatform: Required for Wayland support
|
||||||
|
// WaylandWindowDecorations: Required for Wayland decorations
|
||||||
app.commandLine.appendSwitch(
|
app.commandLine.appendSwitch(
|
||||||
'enable-features',
|
'enable-features',
|
||||||
'OverlayScrollbar,SharedArrayBuffer',
|
'OverlayScrollbar,SharedArrayBuffer,UseOzonePlatform,WaylandWindowDecorations',
|
||||||
);
|
);
|
||||||
if (config.get('options.disableHardwareAcceleration')) {
|
if (config.get('options.disableHardwareAcceleration')) {
|
||||||
if (is.dev()) {
|
if (is.dev()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user