mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-06-25 23:30:50 -04:00
freezed
This commit is contained in:
parent
e3d66b60e4
commit
d6999c36a9
22 changed files with 9697 additions and 1183 deletions
|
@ -112,13 +112,16 @@ class _MyAppState extends State<MyApp> with UiLoggy {
|
|||
if (startup && !_startedUp) {
|
||||
var config = await getDefaultVeilidConfig("Veilid Plugin Example");
|
||||
if (const String.fromEnvironment("DELETE_TABLE_STORE") == "1") {
|
||||
config.tableStore.delete = true;
|
||||
config = config.copyWith(
|
||||
tableStore: config.tableStore.copyWith(delete: true));
|
||||
}
|
||||
if (const String.fromEnvironment("DELETE_PROTECTED_STORE") == "1") {
|
||||
config.protectedStore.delete = true;
|
||||
config = config.copyWith(
|
||||
protectedStore: config.protectedStore.copyWith(delete: true));
|
||||
}
|
||||
if (const String.fromEnvironment("DELETE_BLOCK_STORE") == "1") {
|
||||
config.blockStore.delete = true;
|
||||
config = config.copyWith(
|
||||
blockStore: config.blockStore.copyWith(delete: true));
|
||||
}
|
||||
|
||||
var updateStream = await Veilid.instance.startupVeilidCore(config);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue