From 3dd13542616a56b6bfb50ee75253edd1a3cbb6d0 Mon Sep 17 00:00:00 2001 From: Draqoken <67341000+audioses@users.noreply.github.com> Date: Thu, 10 Apr 2025 02:38:19 +0300 Subject: [PATCH] Update updator.bat --- updator.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/updator.bat b/updator.bat index 9172e62..ec059c1 100644 --- a/updator.bat +++ b/updator.bat @@ -11,6 +11,8 @@ set "MAIN_REPO_DIR=%BASE_DIR%" set "SCRIPTS_TEMP_DIR=%BASE_DIR%\temp_scripts" set "SOUNDS_DIR=%BASE_DIR%\sounds" set "REPO_SUBFOLDER=wav" +set "SCRIPTS_REPO_URL=http://nathantech.net:3000/CosmicRage/VIPMudCosmicRageScripts.git" +set "SOUNDS_REPO_URL=https://nathantech.net:3000/CosmicRage/CosmicRageSounds.git" :: --------- Setup Log --------- echo [%DATE% %TIME%] Starting update process... > "%LOG_FILE%" @@ -56,7 +58,7 @@ if errorlevel 1 ( :: --------- Replace Files in the Main Directory (Safe Copy) --------- echo [%DATE% %TIME%] Preparing to copy files... >> "%LOG_FILE%" set "SRC_DIR=%~dp0temp_scripts" -set "DEST_DIR=%~dp0" +set "DEST_DIR=%~dp0." echo SRC_DIR: [%SRC_DIR%] >> "%LOG_FILE%" echo DEST_DIR: [%DEST_DIR%] >> "%LOG_FILE%" @@ -69,7 +71,7 @@ if not exist "%DEST_DIR%" ( exit /b ) -robocopy "%SRC_DIR%" "%DEST_DIR%" /E /COPY:DAT /XO >> "%LOG_FILE%" 2>&1 +robocopy "%SRC_DIR%" %~dp0 /E /COPY:DAT /XO >> "%LOG_FILE%" 2>&1 if errorlevel 8 ( echo [%DATE% %TIME%] ERROR: Robocopy failed. Exit code: %errorlevel% >> "%LOG_FILE%" pause