Skip to content

Commit

Permalink
Clean up a few more things
Browse files Browse the repository at this point in the history
  • Loading branch information
rankynbass committed May 6, 2023
1 parent e88678e commit eefa42a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/XIVLauncher.Core/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ private static void LoadConfig(Storage storage)
Config.WineDebugVars ??= "-all";
}

public const uint STEAM_APP_ID = 39210; // FFXIV Retail Steam AppId
public const uint STEAM_APP_ID_FT = 312060; // FFXIV Free Trial Steam AppId
public const uint STEAM_APP_ID = 39210;
public const uint STEAM_APP_ID_FT = 312060;

private static void Main(string[] args)
{
Expand All @@ -130,7 +130,6 @@ private static void Main(string[] args)

Loc.SetupWithFallbacks();

//
uint appId, altId;
string appName, altName;
if (Config.IsFt.Value)
Expand Down Expand Up @@ -170,14 +169,14 @@ private static void Main(string[] args)
}
catch (Exception ex)
{
Log.Error($"Couldn't init Steam with AppId={appId} ({appName}), trying AppId={altId} ({altName})");
Log.Error(ex, $"Couldn't init Steam with AppId={appId} ({appName}), trying AppId={altId} ({altName})");
Steam.Initialize(altId);
}
}
}
catch (Exception ex)
{
Log.Error(ex, "Steam couldn't load.");
Log.Error(ex, "Steam couldn't load");
}

DalamudLoadInfo = new DalamudOverlayInfoProxy();
Expand Down

0 comments on commit eefa42a

Please sign in to comment.