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/6858

Liang Ding3969a67c6511
diff --git a/app/electron/main.js b/app/electron/main.js
index 032403cd6f..139aaa98f8 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -442,7 +442,7 @@ const boot = () => {
resetTrayMenu()
}
const setWndTopMenu = {
- label: trayMenu.cancelWindowTop,
+ label: trayMenu.setWindowTop,
click: () => {
setCancelWndTop()
},
@@ -492,13 +492,7 @@ const boot = () => {
if ('win32' === process.platform) {
// Windows 端支持窗口置顶 https://github.com/siyuan-note/siyuan/issues/6860
- let changeWndTop = {
- label: trayMenu.setWindowTop,
- click: () => {
-
- },
- };
- ret.splice(1, 0, changeWndTop)
+ ret.splice(1, 0, setWndTopMenu)
}
return ret;
}