private void SteamPathBtn_Click(object sender, RoutedEventArgs e) { string steamPath = DialogHelpers.SelectFolderDialog("Select the Steam folder."); if (steamPath != null) { config.settings.SetOption("SteamPath", steamPath); HandleSteamPath(); // Update the path textbox } }
private void OutputPathBtn_Click(object sender, RoutedEventArgs e) { string outputPath = DialogHelpers.SelectFolderDialog("Select the folder to unload pak contents to."); if (outputPath != null) { config.settings.SetOption("OutputPath", outputPath); HandleOutputPath(); // Update the path textbox } }