From 60198fa7d322809c9aec9ac0a8cffc221dfd6441 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 20 Feb 2016 19:03:31 +0100 Subject: [PATCH] Changed: Use upgrade script if present --- code/ryzom/client/src/login_patch.cpp | 2 ++ code/ryzom/client/src/login_patch.h | 1 + 2 files changed, 3 insertions(+) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index a7a75d983..e9950a6d6 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -119,8 +119,10 @@ CPatchManager::CPatchManager() : State("t_state"), DataScanState("t_data_scan_st #ifdef NL_OS_WINDOWS UpdateBatchFilename = "updt_nl.bat"; + UpgradeBatchFilename = "upgd_nl.bat"; #else UpdateBatchFilename = "updt_nl.sh"; + UpgradeBatchFilename = "upgd_nl.sh"; #endif // use application directory by default diff --git a/code/ryzom/client/src/login_patch.h b/code/ryzom/client/src/login_patch.h index c7f0f4509..9407290e9 100644 --- a/code/ryzom/client/src/login_patch.h +++ b/code/ryzom/client/src/login_patch.h @@ -433,6 +433,7 @@ private: /// Now deprecated : the launcher is the client ryzom std::string RyzomFilename; std::string UpdateBatchFilename; + std::string UpgradeBatchFilename; // Where the client get all delta and desc file std::string ClientPatchPath; // Temporary path