diff --git a/changelog.md b/changelog.md index 9b4f080b..ef7e7613 100644 --- a/changelog.md +++ b/changelog.md @@ -2,11 +2,7 @@ - 1.2.x YAML覆写语法有所变动,请更新后参考文档进行修改 -### New Features - -- 添加 Homebrew 和 Winget - ### Bug Fixes -- 修复 MacOS 系统代理开启失败的问题 -- 修复 YAML不合法时内核启动失败的问题 +- 修复某些 Windows 设备D盘无法启动的问题 +- 修复带锚点yaml覆写出错的问题 diff --git a/src/main/index.ts b/src/main/index.ts index 386bba51..a8287c55 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -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) => {