mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-18 07:44:26 +01:00
new & opt.
- new: support suspend and WOL #172 - opt.: `execWithPwd` when cancel - opt.: extentions
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:get_it/get_it.dart';
|
||||
import 'package:toolbox/data/store/first.dart';
|
||||
|
||||
import 'data/provider/app.dart';
|
||||
import 'data/provider/debug.dart';
|
||||
@@ -57,6 +58,10 @@ Future<void> _setupLocatorForStores() async {
|
||||
final history = HistoryStore();
|
||||
await history.init(boxName: 'history');
|
||||
locator.registerSingleton(history);
|
||||
|
||||
final first = FirstStore();
|
||||
await first.init(boxName: 'first');
|
||||
locator.registerSingleton(first);
|
||||
}
|
||||
|
||||
Future<void> setupLocator() async {
|
||||
|
||||
Reference in New Issue
Block a user