using SpaceEngineersBlueprintEditor.Installer.Profiles;
using System.Windows;
namespace SpaceEngineersBlueprintEditor.Installer;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
SystemProfile.Args = e.Args;
if (e.Args.Length == 0)
{
SystemProfile.FirstInstall = true;
}
else
{
SystemProfile.StartMode = e.Args[0];
SystemProfile.DownloadUrl = e.Args[1];
SystemProfile.InstallPath = e.Args[2];
}
}
}
using SpaceEngineersBlueprintEditor.Installer.Profiles;
using System.Windows;
namespace SpaceEngineersBlueprintEditor.Installer;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
SystemProfile.Args = e.Args;
if (e.Args.Length == 0)
{
SystemProfile.FirstInstall = true;
}
else
{
SystemProfile.StartMode = e.Args[0];
SystemProfile.DownloadUrl = e.Args[1];
SystemProfile.InstallPath = e.Args[2];
}
}
}