Skip to content

Commit

Permalink
fix(updater): start application if user cancels update
Browse files Browse the repository at this point in the history
  • Loading branch information
ja-ko committed Jun 2, 2024
1 parent b53152b commit aa3b68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ fn main() -> AppResult<()> {
}
Ok(UpdateResult::UpToDate) => {}
Err(e) => {
if matches!(e, UpdateError::NoCompatibleAssetFound) {
if matches!(e, UpdateError::NoCompatibleAssetFound) || matches!(e, UpdateError::UserCanceled) {
warn!("Current release has no asset for current target.");
tui_logger::move_events();
} else {
Expand Down

0 comments on commit aa3b68e

Please sign in to comment.