refact: macos, update, preparing for installation (#12581)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2025-08-08 14:25:22 +08:00
committed by GitHub
parent 39b91911cb
commit 6bc3b38b56
47 changed files with 49 additions and 2 deletions

View File

@@ -28,8 +28,9 @@ void handleUpdate(String releasePageUrl) {
gFFI.dialogManager.dismissAll();
gFFI.dialogManager.show((setState, close, context) {
return CustomAlertDialog(
title: Obx(() => Text(translate(
_isExtracting.isTrue ? 'Installing ...' : 'Downloading {$appName}'))),
title: Obx(() => Text(translate(_isExtracting.isTrue
? 'Preparing for installation ...'
: 'Downloading {$appName}'))),
content:
UpdateProgress(releasePageUrl, downloadUrl, downloadId, onCanceled)
.marginSymmetric(horizontal: 8)