diff --git a/T7x/game/localappdata/cache/cache.bin b/T7x/game/localappdata/cache/cache.bin new file mode 100644 index 0000000..e69de29 diff --git a/T7x/game/localappdata/cache/data.bin b/T7x/game/localappdata/cache/data.bin new file mode 100644 index 0000000..e69de29 diff --git a/T7x/t7x_Installer.nsi b/T7x/t7x_Installer.nsi index f0cc42b..3e32d53 100644 --- a/T7x/t7x_Installer.nsi +++ b/T7x/t7x_Installer.nsi @@ -85,6 +85,12 @@ Section "LocalAppData Files" SecData File /r "game\localappdata\t7x\*.*" SectionEnd +Section "LocalAppData Cache Files" SecCache + SetOutPath $LOCALAPPDATA\cache + File "game\localappdata\cache\cache.bin" + File "game\localappdata\cache\data.bin" +SectionEnd + Function finishpageaction CreateShortcut "$DESKTOP\${PRODUCT_NAME}.lnk" "$INSTDIR\t7x.exe" "" "$INSTDIR\t7x.exe" FunctionEnd @@ -102,6 +108,9 @@ Section "Uninstall" Delete "$INSTDIR\zone\server_cp.cfg" Delete "$INSTDIR\zone\server_zm.cfg" + Delete $LOCALAPPDATA\cache\cache.bin + Delete $LOCALAPPDATA\cache\data.bin + RMDir /r $INSTDIR\t7x RMDir /r $LOCALAPPDATA\t7x