From f941c38b481eddd0b21af5b8ffd01a1486b763f3 Mon Sep 17 00:00:00 2001 From: Rim Date: Sun, 17 Dec 2023 01:01:37 -0500 Subject: [PATCH] Added T7x bypass cache files --- T7x/game/localappdata/cache/cache.bin | 0 T7x/game/localappdata/cache/data.bin | 0 T7x/t7x_Installer.nsi | 9 +++++++++ 3 files changed, 9 insertions(+) create mode 100644 T7x/game/localappdata/cache/cache.bin create mode 100644 T7x/game/localappdata/cache/data.bin 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