use in process gpu

This commit is contained in:
pompurin404 2024-09-16 14:07:33 +08:00
parent cf56966fbe
commit 86e15f0adb
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View File

@ -2,11 +2,7 @@
- 1.2.x YAML覆写语法有所变动请更新后参考文档进行修改
### New Features
- 添加 Homebrew 和 Winget
### Bug Fixes
- 修复 MacOS 系统代理开启失败的问题
- 修复 YAML不合法时内核启动失败的问题
- 修复某些 Windows 设备D盘无法启动的问题
- 修复带锚点yaml覆写出错的问题

View File

@ -48,6 +48,12 @@ if (!gotTheLock) {
app.quit()
}
if (process.platform === 'win32') {
// https://github.com/electron/electron/issues/43278
// https://github.com/electron/electron/issues/36698
app.commandLine.appendSwitch('in-process-gpu')
}
const initPromise = init()
app.on('second-instance', async (_event, commandline) => {