mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
fix(macos): fix app crash in macOS
This commit is contained in:
@ -403,7 +403,7 @@ async function createMainWindow() {
|
||||
removeContentSecurityPolicy();
|
||||
|
||||
win.webContents.on('dom-ready', async () => {
|
||||
if (useInlineMenu && !is.linux()) {
|
||||
if (useInlineMenu && is.windows()) {
|
||||
win.setTitleBarOverlay({
|
||||
...defaultTitleBarOverlayOptions,
|
||||
height: Math.floor(
|
||||
|
||||
Reference in New Issue
Block a user