Skip to content

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

:iphone: https://github.com/siyuan-note/siyuan/issues/16846

Vanessa0a0d8cf09a2d
diff --git a/app/src/plugin/uninstall.ts b/app/src/plugin/uninstall.ts
index c704ce4fe7..0e19e4c324 100644
--- a/app/src/plugin/uninstall.ts
+++ b/app/src/plugin/uninstall.ts
@@ -53,7 +53,6 @@ export const uninstall = (app: App, name: string, isReload: boolean) => {
plugin.statusBarIcons.forEach(item => {
item.remove();
});
- /// #endif
// rm dock
const docksKeys = Object.keys(plugin.docks);
docksKeys.forEach(key => {
@@ -69,6 +68,7 @@ export const uninstall = (app: App, name: string, isReload: boolean) => {
window.siyuan.layout.bottomDock.remove(key);
}
});
+ /// #endif
// rm listen
Array.from(document.childNodes).find(item => {
if (item.nodeType === 8 && item.textContent === name) {