An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Avoid duplicate NSIS custom file macros https://github.com/siyuan-note/siyuan/issues/18258
Daniele28b5623aa58
diff --git a/app/nsis/installer.nsh b/app/nsis/installer.nshindex 7c0988301e..3574ffe3bc 100644--- a/app/nsis/installer.nsh+++ b/app/nsis/installer.nsh@@ -80,6 +80,7 @@ FunctionEnd!macroend!macro customInstall+ !insertmacro WriteInstallLog "payload-extracted version=${VERSION} target=$INSTDIR"RMDir /r "$PROFILE\AppData\Local\siyuan-updater"nsExec::ExecToLog 'cmd /c mklink /H "$INSTDIR\resources\kernel\siyuan.exe" "$INSTDIR\resources\kernel\SiYuan-Kernel.exe" 2>nul || ver>nul'${If} $installMode == "all"@@ -90,18 +91,6 @@ FunctionEnd!insertmacro WriteInstallLog "install-complete version=${VERSION} target=$INSTDIR"!macroend-!macro customFiles_x64- !insertmacro WriteInstallLog "payload-extracted version=${VERSION} architecture=x64 target=$INSTDIR"-!macroend--!macro customFiles_arm64- !insertmacro WriteInstallLog "payload-extracted version=${VERSION} architecture=arm64 target=$INSTDIR"-!macroend--!macro customFiles_ia32- !insertmacro WriteInstallLog "payload-extracted version=${VERSION} architecture=ia32 target=$INSTDIR"-!macroend-!macro customUnInstall${IfNot} ${isUpdated}IfFileExists "$PROFILE\.config\siyuan\*.*" 0 skipConfigDelete