mirror of
https://github.com/StarCitizenToolBox/app.git
synced 2026-02-06 15:10:20 +00:00
feat: 诊断模式
This commit is contained in:
@@ -123,6 +123,7 @@ class AppGlobalModel extends _$AppGlobalModel {
|
||||
// init Hive
|
||||
try {
|
||||
Hive.init("$applicationSupportDir/db");
|
||||
await Future.delayed(const Duration(milliseconds: 100));
|
||||
final box = await Hive.openBox("app_conf");
|
||||
state = state.copyWith(appConfBox: box);
|
||||
if (box.get("install_id", defaultValue: "") == "") {
|
||||
|
||||
Reference in New Issue
Block a user