mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Remove unnecessary reference to library Wabbajack.Common
Remove if that is always true
This commit is contained in:
parent
46b8f97bd0
commit
aa13a363bf
Binary file not shown.
Binary file not shown.
@ -45,14 +45,13 @@ namespace Wabbajack.Lib
|
||||
ConfigureProcessor(18, await RecommendQueueSize());
|
||||
var game = ModList.GameType.MetaData();
|
||||
|
||||
if (GameFolder == null)
|
||||
GameFolder = game.GameLocation();
|
||||
GameFolder = game.GameLocation();
|
||||
|
||||
if (GameFolder == null)
|
||||
{
|
||||
MessageBox.Show(
|
||||
$"In order to do a proper install Wabbajack needs to know where your {game.MO2Name} folder resides. We tried looking the" +
|
||||
"game location up in the windows registry but were unable to find it, please make sure you launch the game once before running this installer. ",
|
||||
"game installation location up in the Windows registry but were unable to find it, please make sure you launch the game once before running this installer.",
|
||||
"Could not find game location", MessageBoxButton.OK);
|
||||
Utils.Log("Exiting because we couldn't find the game folder.");
|
||||
return false;
|
||||
|
@ -24,10 +24,10 @@ namespace Wabbajack
|
||||
AppDomain.CurrentDomain.UnhandledException += (sender, e) =>
|
||||
{
|
||||
// Don't do any special logging side effects
|
||||
Wabbajack.Common.Utils.Error(((Exception)e.ExceptionObject), "Uncaught error");
|
||||
Utils.Error(((Exception)e.ExceptionObject), "Uncaught error");
|
||||
};
|
||||
|
||||
Wabbajack.Common.Utils.Log($"Wabbajack Build - {ThisAssembly.Git.Sha}");
|
||||
Utils.Log($"Wabbajack Build - {ThisAssembly.Git.Sha}");
|
||||
|
||||
// Run some init tasks in background
|
||||
Task.Run(async () =>
|
||||
|
Loading…
Reference in New Issue
Block a user