fix: auto reload after restoring

This commit is contained in:
lollipopkit
2023-09-24 15:53:53 +08:00
parent 4619b6ef9c
commit 7bbaa5f5ab
12 changed files with 43 additions and 35 deletions

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 572;
static const int build = 574;
static const String engine = "3.13.5";
static const String buildAt = "2023-09-23 11:12:55";
static const int modifications = 2;
static const String buildAt = "2023-09-24 15:49:22";
static const int modifications = 12;
static const int script = 18;
}

View File

@@ -17,4 +17,10 @@ class Providers {
static final server = locator<ServerProvider>();
static final sftp = locator<SftpProvider>();
static final snippet = locator<SnippetProvider>();
static void reload() {
key.load();
server.load();
snippet.load();
}
}