diff --git a/README.md b/README.md index a6c409d9..daf7dc09 100644 --- a/README.md +++ b/README.md @@ -31,15 +31,16 @@ A new Flutter project which provide a chart view to display server status data. ## Milestone -- [x] SSH Connect -- [x] Server Info Store -- [x] Status Chart View +- [x] SSH connect +- [x] Server info store +- [x] Status chart view - [x] Base64/Url En/Decode -- [x] Private Key Store -- [x] Server Status Detail Page -- [x] Theme Switch -- [ ] Execute Snippet +- [x] Private key store +- [x] Server status detail page +- [x] Theme switch +- [ ] Execute snippet - [ ] Migrate from `ssh2` to `dartssh2` +- [ ] Desktop support. ## Build Please use `make.dart` to build. diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 27625e8f..798d2c94 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -2,7 +2,10 @@ package="tech.lolli.toolbox"> + android:icon="@mipmap/ic_launcher" + android:allowBackup="true" + android:hasFragileUserData="true" + android:restoreAnyVersion="true"> doUpdate(BuildContext context, {bool force = false}) async { showSnackBarWithAction( context, update.min > BuildData.build - ? '您的版本过旧,请及时更新' - : '${BuildData.name}有更新啦,Ver:${update.newest}\n${update.changelog}', - '更新', + ? 'Your version is too old. \nPlease update to v${update.newest}.' + : 'Update: v${update.newest}available. \n${update.changelog}', + 'Update', () => openUrl(Platform.isAndroid ? update.android : update.ios)); } diff --git a/lib/data/res/build_data.dart b/lib/data/res/build_data.dart index d11834c5..d961be6d 100644 --- a/lib/data/res/build_data.dart +++ b/lib/data/res/build_data.dart @@ -2,9 +2,8 @@ class BuildData { static const String name = "ToolBox"; - static const int build = 55; - static const String engine = - "Flutter 2.5.3 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 18116933e7 (3 weeks ago) • 2021-10-15 10:46:35 -0700\nEngine • revision d3ea636dc5\nTools • Dart 2.14.4\n"; - static const String buildAt = "2021-11-02 15:32:29.280614"; - static const int modifications = 1; + static const int build = 58; + static const String engine = "Flutter 2.5.3 • channel stable • https://github.com/flutter/flutter.git\nFramework • revision 18116933e7 (3 weeks ago) • 2021-10-15 10:46:35 -0700\nEngine • revision d3ea636dc5\nTools • Dart 2.14.4\n"; + static const String buildAt = "2021-11-02 19:44:10.383544"; + static const int modifications = 4; }