wabbajack/Wabbajack/App.xaml.cs

27 lines
651 B
C#
Raw Normal View History

using System;
using System.Windows;
using Wabbajack.Common;
using Wabbajack.Lib;
2019-07-22 22:17:46 +00:00
namespace Wabbajack
{
/// <summary>
2020-01-25 23:25:51 +00:00
/// Interaction logic for App.xaml
2019-07-22 22:17:46 +00:00
/// </summary>
public partial class App : Application
{
public App()
{
Consts.LogsFolder = LauncherUpdater.CommonFolder.Value.Combine("logs");
2021-04-01 20:52:23 +00:00
Consts.LogsFolder.CreateDirectory();
2020-09-22 21:52:24 +00:00
LoggingSettings.LogToFile = true;
Utils.InitalizeLogging().Wait();
2020-09-22 21:52:24 +00:00
CLIOld.ParseOptions(Environment.GetCommandLineArgs());
2020-01-25 23:25:51 +00:00
if (CLIArguments.Help)
CLIOld.DisplayHelpText();
}
2019-07-22 22:17:46 +00:00
}
2019-11-24 08:12:28 +00:00
}