Ejemplo n.º 1
0
 public LauncherPage()
 {
     InitializeComponent();
     if (LocCulture == "ar")
     {
         VTCGrid.FlowDirection = DTCGrid.FlowDirection = PSGrid.FlowDirection = FlowDirection.RightToLeft;
     }
     GamePath.SetPath(Game.Path);
     DisableUpdChecks.IsChecked = Settings.DisableUpdChecks;
     CloseOnGameRun.IsChecked   = Settings.CloseOnGameRun;
     SSLFix.IsChecked           = Settings.SSLFix;
     DowngradeMode.IsChecked    = Settings.DowngradeMode;
     Communism.IsChecked        = Settings.CommunismMode;
 }
Ejemplo n.º 2
0
 private void ChangeGamePath(object Sender, RoutedEventArgs Args)
 {
     if (FileExists($@"{GamePath.Text}\ShooterGame\Binaries\Win64\ShooterGame.exe"))
     {
         if (ShowOptions("Warning", LocString(LocCode.GamePathPrompt)))
         {
             ARKPath = GamePath.Text;
             Current.Shutdown();
         }
         else
         {
             GamePath.SetPath(Game.Path);
         }
     }
     else
     {
         Show("Warning", LocString(LocCode.CantUsePath));
         GamePath.SetPath(Game.Path);
     }
 }