mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
支持 HEVC 编码视频播放 (#6406)
* 🐛 fix #5857 * 🎨 #5990 桌面端 `SiYuan` 可执行程序支持使用参数连接非本机内核服务 * 🎨 style * 🎨 style * 🎨 style * 🎨 改进伺服代码片段 `/snippets/` #6356 * 🎨 调整 win 安装包打包选项 * 🎨 鉴权支持 IPv6 本机回环地址 * 🎨 支持 HEVC 编码视频播放
This commit is contained in:
parent
277a2b24a1
commit
76deb3d0af
1 changed files with 3 additions and 0 deletions
|
|
@ -692,9 +692,12 @@ const initKernel = (initData) => {
|
|||
}
|
||||
|
||||
app.setAsDefaultProtocolClient('siyuan')
|
||||
|
||||
app.commandLine.appendSwitch('disable-web-security')
|
||||
app.commandLine.appendSwitch('auto-detect', 'false')
|
||||
app.commandLine.appendSwitch('no-proxy-server')
|
||||
app.commandLine.appendSwitch('enable-features', 'PlatformHEVCDecoderSupport')
|
||||
|
||||
app.setPath('userData', app.getPath('userData') + '-Electron') // `~/.config` 下 Electron 相关文件夹名称改为 `SiYuan-Electron` https://github.com/siyuan-note/siyuan/issues/3349
|
||||
|
||||
app.whenReady().then(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue