Skip to content

Commit 769edfb

Browse files
committed
Remove Interface caches upon uninstall.
1 parent c9fb9f3 commit 769edfb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmake/templates/NSIS.template.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,6 +1539,11 @@ Section "Uninstall"
15391539
Delete "$SMSTARTUP\@CONSOLE_HF_SHORTCUT_NAME@.lnk"
15401540
Delete "$SMSTARTUP\@SANDBOX_HF_SHORTCUT_NAME@.lnk"
15411541
SetShellVarContext all
1542+
1543+
; Remove all Interface caches of the current user when uninstalling.
1544+
SetShellVarContext current
1545+
RMDir /r "$LOCALAPPDATA\@BUILD_ORGANIZATION@\Interface"
1546+
SetShellVarContext all
15421547

15431548
@CPACK_NSIS_DELETE_ICONS@
15441549
@CPACK_NSIS_DELETE_ICONS_EXTRA@

0 commit comments

Comments
 (0)