1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-05-03 17:27:47 +00:00

Add "Retry" button to manual steps in the plugin

This commit is contained in:
Joshua Goins 2024-11-01 19:03:30 -04:00
parent 23b9bf5532
commit 69f807b2f7
2 changed files with 7 additions and 2 deletions

View file

@ -19,6 +19,11 @@ public class StepWindow()
ImGui.Text(Plugin.CurrentStep.StepDescription()); ImGui.Text(Plugin.CurrentStep.StepDescription());
ImGui.TextDisabled("Step requires manual user action."); ImGui.TextDisabled("Step requires manual user action.");
if (ImGui.Button("Retry"))
{
Plugin.CurrentStep.Run();
}
} }
else else
{ {

View file

@ -273,8 +273,8 @@ pub async fn archive_character(character_name: &str, use_dalamud: bool) -> Resul
} }
// Stop the HTTP server // Stop the HTTP server
//let stop_url = Url::parse(&"http://localhost:42072/stop").map_err(|_| ArchiveError::UnknownError)?; let stop_url = Url::parse(&"http://localhost:42072/stop").map_err(|_| ArchiveError::UnknownError)?;
//download(&stop_url).await; download(&stop_url).await;
} }
let char_dat = physis::chardat::CharacterData { let char_dat = physis::chardat::CharacterData {