diff --git a/Bloxstrap/UI/Elements/Menu/Pages/InstallationPage.xaml b/Bloxstrap/UI/Elements/Menu/Pages/InstallationPage.xaml
index b478e7b..7276410 100644
--- a/Bloxstrap/UI/Elements/Menu/Pages/InstallationPage.xaml
+++ b/Bloxstrap/UI/Elements/Menu/Pages/InstallationPage.xaml
@@ -23,9 +23,11 @@
+
-
+
+
diff --git a/Bloxstrap/UI/ViewModels/Menu/InstallationViewModel.cs b/Bloxstrap/UI/ViewModels/Menu/InstallationViewModel.cs
index 5a659f7..6ad864b 100644
--- a/Bloxstrap/UI/ViewModels/Menu/InstallationViewModel.cs
+++ b/Bloxstrap/UI/ViewModels/Menu/InstallationViewModel.cs
@@ -11,7 +11,10 @@ namespace Bloxstrap.UI.ViewModels.Menu
public event PropertyChangedEventHandler? PropertyChanged;
public void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
+ private string _originalInstallLocation = App.BaseDirectory;
+
public ICommand BrowseInstallLocationCommand => new RelayCommand(BrowseInstallLocation);
+ public ICommand ResetInstallLocationCommand => new RelayCommand(ResetInstallLocation);
public ICommand OpenFolderCommand => new RelayCommand(OpenFolder);
private void BrowseInstallLocation()
@@ -22,7 +25,12 @@ namespace Bloxstrap.UI.ViewModels.Menu
return;
InstallLocation = dialog.SelectedPath;
+ OnPropertyChanged(nameof(InstallLocation));
+ }
+ private void ResetInstallLocation()
+ {
+ InstallLocation = _originalInstallLocation;
OnPropertyChanged(nameof(InstallLocation));
}