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: Support set Chromium command line arguments on the desktop https://github.com/siyuan-note/siyuan/issues/9696
Danieldfb837e5ce2f
diff --git a/app/electron/main.js b/app/electron/main.jsindex 8ff0697cf9..ec8b160c55 100644--- a/app/electron/main.js+++ b/app/electron/main.js@@ -605,13 +605,14 @@ if (!app.isPackaged) {argStart = 2}for (let i = argStart; i < process.argv.length; i++) {- if (process.argv[i].startsWith("--workspace=") || process.argv[i].startsWith("--port=") || process.argv[i].startsWith("siyuan://")) {+ let arg = process.argv[i];+ if (arg.startsWith("--workspace=") || arg.startsWith("--port=") || arg.startsWith("siyuan://")) {// 跳过内置参数continue}- app.commandLine.appendSwitch(process.argv[i]);- writeLog("command line switch [" + process.argv[i] + "]");+ app.commandLine.appendSwitch(arg);+ writeLog("command line switch [" + arg + "]");}app.whenReady().then(() => {