mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Removed some vestigial code not being called
This commit is contained in:
parent
66db4e6ddd
commit
04f9775e96
@ -10,36 +10,5 @@ namespace Wabbajack
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
public App()
|
||||
{
|
||||
/*
|
||||
Utils.Log($"Wabbajack Build - {ThisAssembly.Git.Sha}");
|
||||
SetupHandlers();
|
||||
|
||||
var args = Environment.GetCommandLineArgs();
|
||||
if (args.Length > 1)
|
||||
{
|
||||
Utils.SetLoggerFn(f => { });
|
||||
WorkQueue.Init((a, b, c) => { }, (a, b) => { });
|
||||
var updater = new CheckForUpdates(args[1]);
|
||||
if (updater.FindOutdatedMods())
|
||||
{
|
||||
Environment.Exit(0);
|
||||
}
|
||||
Environment.Exit(1);
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
private void SetupHandlers()
|
||||
{
|
||||
AppDomain.CurrentDomain.UnhandledException += AppHandler;
|
||||
}
|
||||
|
||||
private void AppHandler(object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
Utils.Log("Uncaught error:");
|
||||
Utils.Log(((Exception)e.ExceptionObject).ExceptionToString());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user