mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
9016f96b6a
- Code clean-ups - Added "Copy File" support in mafile context menu - Added hotkeys support to "Copy Login" and "Copy File" commands - Added experimental feature "Ignore Patch Tuesday errors" - Added MAAC batch control - Added SessionID client-side generation in MafileSerializer to support mafiles without SessionID (especially from SDA) - SplashScreen.png was slightly enhanced
36 lines
826 B
C#
36 lines
826 B
C#
using NebulaAuth.Core;
|
|
using NebulaAuth.Model;
|
|
using NebulaAuth.Model.Exceptions;
|
|
using System;
|
|
using System.Windows;
|
|
|
|
namespace NebulaAuth;
|
|
|
|
|
|
public partial class App
|
|
{
|
|
protected override void OnStartup(StartupEventArgs e)
|
|
{
|
|
base.OnStartup(e);
|
|
|
|
LocManager.Init();
|
|
LocManager.SetApplicationLocalization(Settings.Instance.Language);
|
|
try
|
|
{
|
|
Shell.Initialize();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
var msg = ex.ToString();
|
|
if (ex is CantAlignTimeException)
|
|
{
|
|
msg = LocManager.Get("CantAlignTimeError");
|
|
}
|
|
|
|
MessageBox.Show(msg, "Error", MessageBoxButton.OK, MessageBoxImage.Stop, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
|
|
throw;
|
|
|
|
}
|
|
}
|
|
}
|