mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
Allow keep data on uninstalling
This commit is contained in:
15
README.md
15
README.md
@@ -31,15 +31,16 @@ A new Flutter project which provide a chart view to display server status data.
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
## Milestone
|
## Milestone
|
||||||
- [x] SSH Connect
|
- [x] SSH connect
|
||||||
- [x] Server Info Store
|
- [x] Server info store
|
||||||
- [x] Status Chart View
|
- [x] Status chart view
|
||||||
- [x] Base64/Url En/Decode
|
- [x] Base64/Url En/Decode
|
||||||
- [x] Private Key Store
|
- [x] Private key store
|
||||||
- [x] Server Status Detail Page
|
- [x] Server status detail page
|
||||||
- [x] Theme Switch
|
- [x] Theme switch
|
||||||
- [ ] Execute Snippet
|
- [ ] Execute snippet
|
||||||
- [ ] Migrate from `ssh2` to `dartssh2`
|
- [ ] Migrate from `ssh2` to `dartssh2`
|
||||||
|
- [ ] Desktop support.
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
Please use `make.dart` to build.
|
Please use `make.dart` to build.
|
||||||
|
|||||||
@@ -2,7 +2,10 @@
|
|||||||
package="tech.lolli.toolbox">
|
package="tech.lolli.toolbox">
|
||||||
<application
|
<application
|
||||||
android:label="ServerBox"
|
android:label="ServerBox"
|
||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/ic_launcher"
|
||||||
|
android:allowBackup="true"
|
||||||
|
android:hasFragileUserData="true"
|
||||||
|
android:restoreAnyVersion="true">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ Future<void> doUpdate(BuildContext context, {bool force = false}) async {
|
|||||||
showSnackBarWithAction(
|
showSnackBarWithAction(
|
||||||
context,
|
context,
|
||||||
update.min > BuildData.build
|
update.min > BuildData.build
|
||||||
? '您的版本过旧,请及时更新'
|
? 'Your version is too old. \nPlease update to v${update.newest}.'
|
||||||
: '${BuildData.name}有更新啦,Ver:${update.newest}\n${update.changelog}',
|
: 'Update: v${update.newest}available. \n${update.changelog}',
|
||||||
'更新',
|
'Update',
|
||||||
() => openUrl(Platform.isAndroid ? update.android : update.ios));
|
() => openUrl(Platform.isAndroid ? update.android : update.ios));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
class BuildData {
|
class BuildData {
|
||||||
static const String name = "ToolBox";
|
static const String name = "ToolBox";
|
||||||
static const int build = 55;
|
static const int build = 58;
|
||||||
static const String engine =
|
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";
|
||||||
"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 String buildAt = "2021-11-02 15:32:29.280614";
|
static const int modifications = 4;
|
||||||
static const int modifications = 1;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user