feat(updater): resume and verify APK downloads

This commit is contained in:
zarzet
2026-08-30 23:19:00 +07:00
parent b18def64d3
commit 2c9881944d
4 changed files with 254 additions and 27 deletions
+1
View File
@@ -69,6 +69,7 @@ class _UpdateDialogState extends State<UpdateDialog> {
final filePath = await ApkDownloader.downloadApk(
url: apkUrl,
version: widget.updateInfo.version,
expectedSha256: widget.updateInfo.apkSha256,
onProgress: (received, total) {
if (mounted) {
setState(() {