mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix game locator on non Windows systems
This commit is contained in:
@ -28,17 +28,17 @@ namespace Wabbajack.Downloaders.GameFile
|
|||||||
if (OperatingSystem.IsWindows())
|
if (OperatingSystem.IsWindows())
|
||||||
{
|
{
|
||||||
_origin = new OriginHandler(true, false, logger);
|
_origin = new OriginHandler(true, false, logger);
|
||||||
|
_gog = new GOGHandler(logger);
|
||||||
|
|
||||||
|
_egs = new EGSHandler(logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
_gog = new GOGHandler(logger);
|
|
||||||
_egs = new EGSHandler(logger);
|
|
||||||
|
|
||||||
_locationCache = new Dictionary<Game, AbsolutePath>();
|
_locationCache = new Dictionary<Game, AbsolutePath>();
|
||||||
|
|
||||||
_steam.FindAllGames();
|
_steam.FindAllGames();
|
||||||
_origin?.FindAllGames();
|
_origin?.FindAllGames();
|
||||||
_gog.FindAllGames();
|
_gog?.FindAllGames();
|
||||||
_egs.FindAllGames();
|
_egs?.FindAllGames();
|
||||||
}
|
}
|
||||||
|
|
||||||
public AbsolutePath GameLocation(Game game)
|
public AbsolutePath GameLocation(Game game)
|
||||||
|
Reference in New Issue
Block a user