Changed: Use upgrade script if present

This commit is contained in:
kervala 2016-02-20 19:03:31 +01:00
parent 0a70560372
commit 703bae5882
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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