From dbfebf161cdc2fe0547865eac2963c4d38332a4d Mon Sep 17 00:00:00 2001 From: saru Date: Wed, 23 Oct 2024 21:47:08 -0500 Subject: [PATCH] fix tar syntax end me --- installer-windows.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/installer-windows.bat b/installer-windows.bat index c2e8480..4d6e6c8 100644 --- a/installer-windows.bat +++ b/installer-windows.bat @@ -19,18 +19,18 @@ echo Updating Mods... Compressing and backing up existing mods... - tar -czf mods-backup-%cusdate%.tar.gz mods/ + tar -czf %root%/mods-backup-%cusdate%.tar.gz %modfolder% @timeout /t 2 >nul 2>&1 - Deleting existing mods... + echo Deleting existing mods... @RD /S /Q mods @MD mods @timeout /t 2 >nul 2>&1 - tar -xvzf mods.tar.gz -C %modfolder% + tar -xvzf %root%/mods.tar.gz -C %modfolder% echo Sigma! echo All done. @timeout /t 10 >nul 2>&1 -exit \ No newline at end of file +exit