mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
update readme
This commit is contained in:
@@ -57,7 +57,7 @@ Future<void> doUpdate(BuildContext context, {bool force = false}) async {
|
||||
update.min > BuildData.build
|
||||
? 'Your version is too old. \nPlease update to v1.0.$newest.'
|
||||
: 'Update: v1.0.$newest available. \n${update.changelog}',
|
||||
'Update', () async {
|
||||
s.update, () async {
|
||||
if (Platform.isAndroid) {
|
||||
await RUpgrade.upgrade(update.android,
|
||||
fileName: update.android.split('/').last, isAutoRequestInstall: true);
|
||||
|
||||
Reference in New Issue
Block a user