Skip to content

Commit

Permalink
Fix breakage in legacy MO2 dependency.
Browse files Browse the repository at this point in the history
The "resolver" implementation was modified to accept a configuration object instead of a path, but the required changes to app initialization were left out of the commit. Neither should have been committed in the first place, but the prior code has already been pushed.
  • Loading branch information
focustense committed Aug 11, 2021
1 parent fbcde25 commit acfdc52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Focus.Apps.EasyNpc/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ private static IModResolver CreateModResolver(StartupInfo startupInfo, CommandLi
switch (startupInfo.Launcher)
{
case ModManager.ModOrganizer:
return new ModOrganizerModResolver(startupInfo.ParentProcessPath);
var config = IniConfiguration.AutoDetect(startupInfo.ParentProcessPath);
return new ModOrganizerModResolver(config);
default:
return defaultModResolver;
}
Expand Down

0 comments on commit acfdc52

Please sign in to comment.