mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
🎨 Windows uninstaller removes the default workspace https://github.com/siyuan-note/siyuan/issues/8876
This commit is contained in:
+10
-1
@@ -23,13 +23,22 @@ Caption "${PRODUCT_NAME} ${VERSION}"
|
||||
|
||||
!macro customUnInstall
|
||||
${IfNot} ${isUpdated}
|
||||
MessageBox MB_YESNO "是否需要删除全局配置($PROFILE\.config\siyuan\)?$\n$\n\
|
||||
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:
|
||||
RMDir /r "$PROFILE\.config\siyuan\"
|
||||
Skipped:
|
||||
${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:
|
||||
RMDir /r "$PROFILE\SiYuan\"
|
||||
Skipped:
|
||||
${EndIf}
|
||||
!macroend
|
||||
|
||||
# https://nsis.sourceforge.io/FindIt:_Simple_search_for_file_/_directory
|
||||
|
||||
Reference in New Issue
Block a user