mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
27 lines
652 B
C#
27 lines
652 B
C#
using System;
|
|
using System.Windows;
|
|
using Wabbajack.Common;
|
|
using Wabbajack.Lib;
|
|
|
|
namespace Wabbajack
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App : Application
|
|
{
|
|
public App()
|
|
{
|
|
Consts.LogsFolder = LauncherUpdater.CommonFolder.Value.Combine("logs");
|
|
Consts.LogsFolder.CreateDirectory();
|
|
|
|
LoggingSettings.LogToFile = true;
|
|
Utils.InitializeLogging().Wait();
|
|
|
|
CLIOld.ParseOptions(Environment.GetCommandLineArgs());
|
|
if (CLIArguments.Help)
|
|
CLIOld.DisplayHelpText();
|
|
}
|
|
}
|
|
}
|