chore: update deps

This commit is contained in:
2025-09-03 12:12:40 +07:00
parent d8edac0bb9
commit b11b0e0115
8 changed files with 155 additions and 176 deletions

View File

@@ -108,12 +108,9 @@ impl AutoUpdater {
cx.spawn_in(window, async move |this, cx| {
if let Ok(Some(update)) = checking.await {
cx.update(|window, cx| {
this.update(cx, |this, cx| {
this.set_status(AutoUpdateStatus::checked(update), cx);
this.install_update(window, cx);
})
.ok();
this.update_in(cx, |this, window, cx| {
this.set_status(AutoUpdateStatus::checked(update), cx);
this.install_update(window, cx);
})
.ok();
} else {