Skip to content

Commit 6d49055

Browse files
authored
Merge pull request #30 from JonathanFeenstra/game-masterlist-fixes
Update game masterlist repository names
2 parents 60cc2bb + 3e6849b commit 6d49055

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [opened, synchronize, reopened]
77

88
env:
9-
VCPKG_BINARY_SOURCES: clear;x-azblob,${{ vars.AZ_BLOB_VCPKG_URL }},${{ secrets.AZ_BLOB_SAS }},readwrite
9+
VCPKG_BINARY_SOURCES: ${{ vars.AZ_BLOB_VCPKG_URL != '' && format('clear;x-azblob,{0},{1},readwrite', vars.AZ_BLOB_VCPKG_URL, secrets.AZ_BLOB_SAS) || '' }}
1010

1111
jobs:
1212
build:

src/game_settings.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ std::string GetDefaultMasterlistRepositoryName(const GameId gameId)
265265
return "morrowind";
266266
case GameId::tes4:
267267
case GameId::nehrim:
268-
case GameId::oblivionRemastered:
269268
return "oblivion";
270269
case GameId::tes5:
271270
return "skyrim";
@@ -286,6 +285,8 @@ std::string GetDefaultMasterlistRepositoryName(const GameId gameId)
286285
return "fallout4vr";
287286
case GameId::starfield:
288287
return "starfield";
288+
case GameId::oblivionRemastered:
289+
return "oblivion-remastered";
289290
default:
290291
throw std::logic_error("Unrecognised game type");
291292
}

src/lootthread.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,9 @@ LOOTWorker::migrateMasterlistRepoSettings(loot::GameId GameId, std::string url,
513513
std::string LOOTWorker::migrateMasterlistSource(const std::string& source)
514514
{
515515
static const std::vector<std::string> officialMasterlistRepos = {
516-
"morrowind", "oblivion", "skyrim", "skyrimse", "skyrimvr",
517-
"fallout3", "falloutnv", "fallout4", "fallout4vr", "enderal"};
516+
"morrowind", "oblivion", "skyrim", "skyrimse",
517+
"skyrimvr", "fallout3", "falloutnv", "fallout4",
518+
"fallout4vr", "enderal", "starfield", "oblivion-remastered"};
518519

519520
for (const auto& repo : officialMasterlistRepos) {
520521
for (const auto& branch : oldDefaultBranches) {

src/version.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ VALUE "CompanyName", "Mod Organizer 2 Team\0"
2222
VALUE "FileDescription", "LOOT Command line interface\0"
2323
VALUE "OriginalFilename", "lootcli.exe\0"
2424
VALUE "InternalName", "lootcli\0"
25-
VALUE "LegalCopyright", "Copyright 2011-2016 Sebastian Herbord\r\nCopyright 2016-2025 Mod Organizer 2 contributors\0"
25+
VALUE "LegalCopyright", "Copyright 2011-2016 Sebastian Herbord\r\nCopyright 2016-2026 Mod Organizer 2 contributors\0"
2626
VALUE "ProductName", "lootcli\0"
2727
VALUE "ProductVersion", VER_FILEVERSION_STR
2828
END

0 commit comments

Comments
 (0)