Skip to content

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

:art: Windows uninstaller removes the default workspace https://github.com/siyuan-note/siyuan/issues/8876

Danieldec6d0976e10
diff --git a/app/nsis/installer.nsh b/app/nsis/installer.nsh
index 3218b113de..7a536665fb 100644
--- a/app/nsis/installer.nsh
+++ b/app/nsis/installer.nsh
@@ -37,6 +37,9 @@ Caption "${PRODUCT_NAME} ${VERSION}"
/SD IDNO IDYES AcceptedRMWorkspace IDNO SkippedRMWrokspace
AcceptedRMWorkspace:
RMDir /r "$PROFILE\SiYuan\"
+ RMDir /r "$PROFILE\Desktop\conf\"
+ RMDir /r "$PROFILE\Desktop\data\"
+ RMDir /r "$PROFILE\Desktop\temp\"
SkippedRMWrokspace:
${EndIf}
!macroend