Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/12566

Vanessad8ee9f357f96
diff --git a/app/electron/main.js b/app/electron/main.js
index 29b66abe9c..7141ac04d4 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -92,13 +92,16 @@ const hotKey2Electron = (key) => {
if (key.indexOf("⌘") > -1) {
electronKey += "CommandOrControl+";
}
+ if (key.indexOf("⌃") > -1) {
+ electronKey += "Control+";
+ }
if (key.indexOf("⇧") > -1) {
electronKey += "Shift+";
}
if (key.indexOf("⌥") > -1) {
electronKey += "Alt+";
}
- return electronKey + key.replace("⌘", "").replace("⇧", "").replace("⌥", "");
+ return electronKey + key.replace("⌘", "").replace("⇧", "").replace("⌥", "").replace("⌃", "");
};
const exitApp = (port, errorWindowId) => {