Update libloadorder to 18.2.2

This commit is contained in:
Oliver Hamlet
2025-02-10 09:48:32 +00:00
parent f865167997
commit 7b255f5329
3 changed files with 12 additions and 2 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ else()
endif()
if(NOT DEFINED LIBLOADORDER_URL)
set(LIBLOADORDER_URL "https://github.com/Ortham/libloadorder/archive/refs/tags/18.2.1.tar.gz")
set(LIBLOADORDER_HASH "SHA256=b453e28493aef9bdc7578ca3aa19c390cab44e6e411a44df879de7e617177066")
set(LIBLOADORDER_URL "https://github.com/Ortham/libloadorder/archive/refs/tags/18.2.2.tar.gz")
set(LIBLOADORDER_HASH "SHA256=5e4c12e91180abbf201be70b3073fce791bdee2d70f33f89b35942446d3b5782")
endif()
ExternalProject_Add(libloadorder
+5
View File
@@ -93,6 +93,11 @@ TEST_P(
if (GetParam() == GameType::fo4) {
// Create the file that indicates it's a Microsoft Store install.
touch(gamePath / "appxmanifest.xml");
} else if (GetParam() == GameType::openmw) {
std::ofstream out(gamePath / "openmw.cfg");
out << "data-local=\"" << (localPath / "data").u8string() << "\""
<< std::endl
<< "config=\"" << localPath.u8string() << "\"";
}
Game game = Game(GetParam(), gamePath, localPath);
@@ -233,6 +233,11 @@ TEST_P(LoadOrderHandlerTest, getAdditionalDataPathsShouldReturnValidData) {
if (GetParam() == GameType::fo4) {
// Create the file that indicates it's a Microsoft Store install.
touch(gamePath / "appxmanifest.xml");
} else if (GetParam() == GameType::openmw) {
std::ofstream out(gamePath / "openmw.cfg");
out << "data-local=\"" << (localPath / "data").u8string() << "\""
<< std::endl
<< "config=\"" << localPath.u8string() << "\"";
}
auto loadOrderHandler = createHandler();