public static void Main() { #if !DEBUG SentrySdk.Init("https://*****:*****@sentry.io/1412154"); #endif AppDomain.CurrentDomain.UnhandledException += OnCurrentDomainOnUnhandledException; StartupConfig.Startup(); InstanceManage.TryAddInstance(new UiMetadata()); InstanceManage.TryAddInstance(new PlayerList()); InstanceManage.TryAddInstance(new OsuDbInst()); InstanceManage.TryAddInstance(new PlayersInst()); InstanceManage.TryAddInstance(new LyricsInst()); InstanceManage.TryAddInstance(new Updater()); InstanceManage.TryAddInstance(new OsuFileScanner()); InstanceManage.GetInstance <LyricsInst>().ReloadLyricProvider(); var app = new App(); app.InitializeComponent(); app.Run(); }