An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Force using discrete GPU when there are multiple GPUs available on the desktop https://github.com/siyuan-note/siyuan/issues/9694
Daniel9403046dfc68
diff --git a/app/electron/main.js b/app/electron/main.jsindex dec79e7c5b..3dc0a811da 100644--- a/app/electron/main.js+++ b/app/electron/main.js@@ -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/9694app.setPath("userData", app.getPath("userData") + "-Electron"); // `~/.config` 下 Electron 相关文件夹名称改为 `SiYuan-Electron` https://github.com/siyuan-note/siyuan/issues/3349