mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 03:50:16 +08:00
🎨 Windows uninstaller removes the global configuration Fix https://github.com/siyuan-note/siyuan/issues/8795
This commit is contained in:
parent
15532c9b4e
commit
7e0c94e8c6
@ -21,6 +21,16 @@ Caption "${PRODUCT_NAME} ${VERSION}"
|
|||||||
${EndIf}
|
${EndIf}
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
|
!macro customUnInstall
|
||||||
|
${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:
|
||||||
|
RMDir /r "$PROFILE\.config\siyuan\"
|
||||||
|
Skipped:
|
||||||
|
${EndIf}
|
||||||
|
!macroend
|
||||||
|
|
||||||
# https://nsis.sourceforge.io/FindIt:_Simple_search_for_file_/_directory
|
# https://nsis.sourceforge.io/FindIt:_Simple_search_for_file_/_directory
|
||||||
!macro un.FindIt In For Result
|
!macro un.FindIt In For Result
|
||||||
|
Loading…
Reference in New Issue
Block a user