Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Export path selection problem on Linux desktop https://github.com/siyuan-note/siyuan/issues/14861

Daniela26823a84c22
diff --git a/app/electron/main.js b/app/electron/main.js
index efb0729ad8..b019add3b1 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -652,6 +652,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("xdg-portal-required-version", "4");
// 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(", ") + "]");