BeatSaber-version-changer/Program.cs
2022-05-14 20:43:22 +02:00

31 lines
898 B
C#

using BeatSaber_Versions.controller;
using BeatSaber_Versions.controller.helper;
using BeatSaber_Versions.ui;
namespace BeatSaber_Versions
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
if (staticHelpers.IsElevated)
{
getNormalBeatSaberFolder.getBSFolder();
Storage.CC = new Config();
Application.Run(new VersionChanger());
}
else
{
Application.Run(new NoAdmin());
}
}
}
}