From a2bae983167308a1eab48afc69ebccf2d2fe7fb9 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Fri, 8 Dec 2023 22:57:47 +0800 Subject: [PATCH] :fire: No longer force using discrete GPU on desktop https://github.com/siyuan-note/siyuan/issues/9845 --- app/electron/main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/electron/main.js b/app/electron/main.js index fca505e60..065397845 100644 --- a/app/electron/main.js +++ b/app/electron/main.js @@ -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(", ") + "]");