mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
use in process gpu
This commit is contained in:
parent
cf56966fbe
commit
86e15f0adb
@ -2,11 +2,7 @@
|
|||||||
|
|
||||||
- 1.2.x YAML覆写语法有所变动,请更新后参考文档进行修改
|
- 1.2.x YAML覆写语法有所变动,请更新后参考文档进行修改
|
||||||
|
|
||||||
### New Features
|
|
||||||
|
|
||||||
- 添加 Homebrew 和 Winget
|
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- 修复 MacOS 系统代理开启失败的问题
|
- 修复某些 Windows 设备D盘无法启动的问题
|
||||||
- 修复 YAML不合法时内核启动失败的问题
|
- 修复带锚点yaml覆写出错的问题
|
||||||
|
|||||||
@ -48,6 +48,12 @@ if (!gotTheLock) {
|
|||||||
app.quit()
|
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()
|
const initPromise = init()
|
||||||
|
|
||||||
app.on('second-instance', async (_event, commandline) => {
|
app.on('second-instance', async (_event, commandline) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user