mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🎨 Force using discrete GPU when there are multiple GPUs available on the desktop https://github.com/siyuan-note/siyuan/issues/9694
This commit is contained in:
@@ -595,6 +595,7 @@ 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.commandLine.appendSwitch("force_high_performance_gpu"); // Force using discrete GPU when there are multiple GPUs available on the desktop https://github.com/siyuan-note/siyuan/issues/9694
|
||||
|
||||
app.setPath("userData", app.getPath("userData") + "-Electron"); // `~/.config` 下 Electron 相关文件夹名称改为 `SiYuan-Electron` https://github.com/siyuan-note/siyuan/issues/3349
|
||||
|
||||
|
||||
Reference in New Issue
Block a user