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

This commit is contained in:
Daniel 2023-08-01 21:28:28 +08:00
parent 550bfaecb4
commit 678740d343
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -25,19 +25,19 @@ Caption "${PRODUCT_NAME} ${VERSION}"
${IfNot} ${isUpdated}
MessageBox MB_YESNO "是否需要彻底删除全局配置($PROFILE\.config\siyuan\$\n$\n\
Do you want to delete the global configuration ($PROFILE\.config\siyuan\)?$\n" \
/SD IDYES IDYES Accepted IDNO Skipped
Accepted:
/SD IDYES IDYES AcceptedRMConf IDNO SkippedRMConf
AcceptedRMConf:
RMDir /r "$PROFILE\.config\siyuan\"
Skipped:
SkippedRMConf:
${EndIf}
${IfNot} ${isUpdated}
MessageBox MB_YESNO "是否需要彻底删除默认工作空间($PROFILE\SiYuan\$\n$\n\
Do you want to completely delete the default workspace ($PROFILE\SiYuan\)?$\n" \
/SD IDYES IDYES Accepted IDNO Skipped
Accepted:
/SD IDNO IDYES AcceptedRMWorkspace IDNO SkippedRMWrokspace
AcceptedRMWorkspace:
RMDir /r "$PROFILE\SiYuan\"
Skipped:
SkippedRMWrokspace:
${EndIf}
!macroend