migrate to darssh2

This commit is contained in:
Junyuan Feng
2022-01-09 18:06:39 +08:00
parent 3fc43d06e9
commit a2ed889183
43 changed files with 1591 additions and 134 deletions

View File

@@ -47,7 +47,9 @@ Future<void> doUpdate(BuildContext context, {bool force = false}) async {
await RUpgrade.upgrade(update.android,
fileName: update.android.split('/').last, isAutoRequestInstall: true);
} else if (Platform.isIOS) {
showSnackBar(context, const Text('Not support iOS now.'));
await RUpgrade.upgradeFromAppStore('1586449703');
} else if (Platform.isMacOS) {
await RUpgrade.upgradeFromUrl(update.mac);
}
});
}