From c4ec02c4bfb556952987c7851e7f174884ddf102 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Wed, 24 Aug 2016 10:32:59 -0700 Subject: [PATCH] add removal of resources folder during install process --- cmake/templates/NSIS.template.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 4786b12743..e8d89ccad7 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -589,6 +589,9 @@ Section "-Core installation" Delete "$INSTDIR\version" Delete "$INSTDIR\xinput1_3.dll" + ; Remove the resources folder so we don't end up including removed QML files + RMDir /r "$INSTDIR\resources" + ; Delete old desktop shortcuts before they were renamed during Sandbox rename Delete "$DESKTOP\@PRE_SANDBOX_INTERFACE_SHORTCUT_NAME@.lnk" Delete "$DESKTOP\@PRE_SANDBOX_CONSOLE_SHORTCUT_NAME@.lnk"