🔥 No longer force using discrete GPU on desktop https://github.com/siyuan-note/siyuan/issues/9845

This commit is contained in:
Daniel
2023-12-08 22:57:47 +08:00
parent a1a6fb513d
commit a2bae98316

View File

@@ -612,7 +612,6 @@ 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
// Support set Chromium command line arguments on the desktop https://github.com/siyuan-note/siyuan/issues/9696
writeLog("app is packaged [" + app.isPackaged + "], command line args [" + process.argv.join(", ") + "]");