🎨 The %LOCALAPPDATA%\siyuan-updater\ folder will be automatically deleted after installation on Windows https://github.com/siyuan-note/siyuan/issues/16733

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-31 10:15:18 +08:00
parent ba9c58ede6
commit be9a78ab16
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -30,6 +30,10 @@ Caption "${PRODUCT_NAME} ${VERSION}"
${EndIf}
!macroend
!macro customInstall
RMDir /r "$PROFILE\AppData\Local\siyuan-updater"
!macroend
!macro customUnInstall
${IfNot} ${isUpdated}
MessageBox MB_YESNO "是否需要彻底删除全局配置($PROFILE\.config\siyuan\$\n$\n\