mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
fix: catch crash of fg service (#669)
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
|
||||
abstract class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 1117;
|
||||
static const int build = 1124;
|
||||
static const int script = 59;
|
||||
}
|
||||
|
||||
@@ -235,6 +235,9 @@ class SettingStore extends HiveStore {
|
||||
/// Set it empty to use local editor GUI.
|
||||
late final sftpEditor = propertyDefault('sftpEditor', '');
|
||||
|
||||
/// Run foreground service on Android, if the SSH terminal is running
|
||||
late final fgService = propertyDefault('fgService', false);
|
||||
|
||||
// Never show these settings for users
|
||||
//
|
||||
// ------BEGIN------
|
||||
|
||||
Reference in New Issue
Block a user