mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-15 22:08:43 +00:00
Changed: Preparation of future binary patching (each supported platform has its own BNP with binaries)
This commit is contained in:
parent
48aefa0f17
commit
96409a2390
1 changed files with 26 additions and 3 deletions
|
@ -201,11 +201,34 @@ CPatchManager::CPatchManager() : State("t_state"), DataScanState("t_data_scan_st
|
||||||
_StateListener = NULL;
|
_StateListener = NULL;
|
||||||
_StartRyzomAtEnd = true;
|
_StartRyzomAtEnd = true;
|
||||||
|
|
||||||
#ifdef NL_OS_UNIX
|
// only download binaries for current platform
|
||||||
// don't use cfg, exe and dll from Windows version
|
|
||||||
ForceRemovePatchCategories.clear();
|
ForceRemovePatchCategories.clear();
|
||||||
ForceRemovePatchCategories.push_back("main_exedll");
|
ForceRemovePatchCategories.push_back("main_exedll");
|
||||||
ForceRemovePatchCategories.push_back("main_cfg");
|
#if defined(NL_OS_WIN64)
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
||||||
|
#elif defined(NL_OS_WIN32)
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win34");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
||||||
|
#elif defined(NL_OS_APPLE)
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win34");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
||||||
|
#elif defined(NL_OS_UNIX) && defined(_LP64)
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win34");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
||||||
|
#else
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win32");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_win64");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_linux64");
|
||||||
|
ForceRemovePatchCategories.push_back("main_exedll_osx");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue