Skip to content

Commit

Permalink
Return to idle state when failing to prepare the backup target
Browse files Browse the repository at this point in the history
  • Loading branch information
mtkennerly committed Jan 4, 2025
1 parent bf834f0 commit ea0483a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
Previously, Ludusavi would make a backup folder for the game including the space,
but the OS (namely Windows) would remove the space from the folder title,
causing unpredictable behavior when Ludusavi couldn't find the expected folder name.
* GUI: In backup mode, if Ludusavi failed to prepare the backup target folder,
it would get stuck where you couldn't cancel/restart the operation.
* CLI: `find --normalized` now better prioritizes the closest match
when multiple manifest entries have the same normalized title.

Expand Down
1 change: 1 addition & 0 deletions src/gui/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ impl App {

if !preview {
if let Err(e) = prepare_backup_target(&self.config.backup.path) {
self.go_idle();
return self.show_error(e);
}
}
Expand Down

0 comments on commit ea0483a

Please sign in to comment.