mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Update libloadorder to 18.2.2
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user