支持 HEVC 编码视频播放 (#6406)

* 🐛 fix #5857

* 🎨 #5990 桌面端 `SiYuan` 可执行程序支持使用参数连接非本机内核服务

* 🎨 style

* 🎨 style

* 🎨 style

* 🎨 改进伺服代码片段 `/snippets/` #6356

* 🎨 调整 win 安装包打包选项

* 🎨 鉴权支持 IPv6 本机回环地址

* 🎨 支持 HEVC 编码视频播放
This commit is contained in:
颖逸 2022-10-30 13:53:38 +08:00 committed by GitHub
parent 277a2b24a1
commit 76deb3d0af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(() => {