diff --git a/Bloxstrap/ViewModels/ModsViewModel.cs b/Bloxstrap/ViewModels/ModsViewModel.cs index 828b944..c9d3cd3 100644 --- a/Bloxstrap/ViewModels/ModsViewModel.cs +++ b/Bloxstrap/ViewModels/ModsViewModel.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; +using System.IO; using System.Windows.Input; using CommunityToolkit.Mvvm.Input; @@ -16,8 +17,10 @@ namespace Bloxstrap.ViewModels public void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); public ICommand OpenModsFolderCommand => new RelayCommand(OpenModsFolder); + public ICommand OpenClientSettingsCommand => new RelayCommand(OpenClientSettings); private void OpenModsFolder() => Process.Start("explorer.exe", Directories.Modifications); + private void OpenClientSettings() => Utilities.OpenWebsite(Path.Combine(Directories.Modifications, "ClientSettings\\ClientAppSettings.json")); public bool OldDeathSoundEnabled { diff --git a/Bloxstrap/Views/Pages/ModsPage.xaml b/Bloxstrap/Views/Pages/ModsPage.xaml index 24efc0e..2946daf 100644 --- a/Bloxstrap/Views/Pages/ModsPage.xaml +++ b/Bloxstrap/Views/Pages/ModsPage.xaml @@ -13,11 +13,15 @@ + + + + - + @@ -45,12 +49,40 @@ - + + + + + + + + + + + + + + + + @@ -94,82 +126,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +