mirror of
https://github.com/redstrate/Auracite.git
synced 2025-05-02 16:57:47 +00:00
Add "Retry" button to manual steps in the plugin
This commit is contained in:
parent
23b9bf5532
commit
69f807b2f7
2 changed files with 7 additions and 2 deletions
|
@ -19,6 +19,11 @@ public class StepWindow()
|
|||
ImGui.Text(Plugin.CurrentStep.StepDescription());
|
||||
|
||||
ImGui.TextDisabled("Step requires manual user action.");
|
||||
|
||||
if (ImGui.Button("Retry"))
|
||||
{
|
||||
Plugin.CurrentStep.Run();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -273,8 +273,8 @@ pub async fn archive_character(character_name: &str, use_dalamud: bool) -> Resul
|
|||
}
|
||||
|
||||
// Stop the HTTP server
|
||||
//let stop_url = Url::parse(&"http://localhost:42072/stop").map_err(|_| ArchiveError::UnknownError)?;
|
||||
//download(&stop_url).await;
|
||||
let stop_url = Url::parse(&"http://localhost:42072/stop").map_err(|_| ArchiveError::UnknownError)?;
|
||||
download(&stop_url).await;
|
||||
}
|
||||
|
||||
let char_dat = physis::chardat::CharacterData {
|
||||
|
|
Loading…
Add table
Reference in a new issue