mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-26 03:18:48 +01:00
🚨
This commit is contained in:
parent
2a214fe50e
commit
e8ade79630
7 changed files with 12 additions and 16 deletions
|
|
@ -192,7 +192,7 @@ const boot = () => {
|
|||
webviewTag: true,
|
||||
webSecurity: false,
|
||||
contextIsolation: false,
|
||||
autoplayPolicy: 'user-gesture-required' // 桌面端禁止自动播放多媒体 https://github.com/siyuan-note/siyuan/issues/7587
|
||||
autoplayPolicy: "user-gesture-required" // 桌面端禁止自动播放多媒体 https://github.com/siyuan-note/siyuan/issues/7587
|
||||
},
|
||||
frame: "darwin" === process.platform,
|
||||
titleBarStyle: "hidden",
|
||||
|
|
@ -752,7 +752,7 @@ app.whenReady().then(() => {
|
|||
nodeIntegration: true,
|
||||
webviewTag: true,
|
||||
webSecurity: false,
|
||||
autoplayPolicy: 'user-gesture-required' // 桌面端禁止自动播放多媒体 https://github.com/siyuan-note/siyuan/issues/7587
|
||||
autoplayPolicy: "user-gesture-required" // 桌面端禁止自动播放多媒体 https://github.com/siyuan-note/siyuan/issues/7587
|
||||
},
|
||||
});
|
||||
win.loadURL(data.url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue