Skip to content

Commit

Permalink
PurchaseDateImporter: Also apply purchase date to Legendary plugin ga…
Browse files Browse the repository at this point in the history
…mes when obtaining Epic data
  • Loading branch information
darklinkpower committed Apr 28, 2024
1 parent 58d94d9 commit 842b9af
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,21 @@ private void ImportPurchasedDates()
{
case EaLicenseService.LibraryName:
ApplyDatesToLibrary(EaLicenseService.LibraryName,
EaLicenseService.PluginId, EaLicenseService.GetLicensesDict(), false);
EaLicenseService.PluginId, EaLicenseService.GetLicensesDict(), false);
break;
case EpicLicenseService.LibraryName:
ApplyDatesToLibrary(EpicLicenseService.LibraryName,
EpicLicenseService.PluginId, EpicLicenseService.GetLicensesDict(), true);
var licenses = EpicLicenseService.GetLicensesDict();
ApplyDatesToLibrary(EpicLicenseService.LibraryName, EpicLicenseService.PluginId, licenses, true);
var legendaryPluginId = Guid.Parse("EAD65C3B-2F8F-4E37-B4E6-B3DE6BE540C6");
ApplyDatesToLibrary("Legendary (Epic)", legendaryPluginId, licenses, true);
break;
case GogLicenseService.LibraryName:
ApplyDatesToLibrary(GogLicenseService.LibraryName,
GogLicenseService.PluginId, GogLicenseService.GetLicensesDict(), false);
GogLicenseService.PluginId, GogLicenseService.GetLicensesDict(), false);
break;
case SteamLicenseService.LibraryName:
ApplyDatesToLibrary(SteamLicenseService.LibraryName,
SteamLicenseService.PluginId, SteamLicenseService.GetLicensesDict(), true, true);
SteamLicenseService.PluginId, SteamLicenseService.GetLicensesDict(), true, true);
break;
default:
break;
Expand Down

0 comments on commit 842b9af

Please sign in to comment.