Skip to content

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

:fire: Remove unused linux switch for wayland/x11 这些开关只有在启动参数上设置才有效,main.js 中设置时机太晚了

Daniel0e5ecaa69b1a
diff --git a/app/electron/main.js b/app/electron/main.js
index 084b4330e5..28a3d8caf2 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -68,11 +68,6 @@ if (!app.requestSingleInstanceLock()) {
return;
}
-if (process.platform === "linux") {
- app.commandLine.appendSwitch("enable-wayland-ime");
- app.commandLine.appendSwitch("wayland-text-input-version", "3");
-}
-
app.setAsDefaultProtocolClient("siyuan");
app.commandLine.appendSwitch("disable-web-security");