mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-24 00:21:11 -04:00
Fix vault init order
This commit is contained in:
@@ -51,6 +51,9 @@ public class StandardStorage extends DataStorage {
|
||||
ErrorEvent.fromThrowable(e).terminal(true).build().handle();
|
||||
}
|
||||
|
||||
this.gitStorageHandler.init(dir);
|
||||
this.gitStorageHandler.beforeStorageLoad();
|
||||
|
||||
try {
|
||||
initSystemInfo();
|
||||
} catch (Exception e) {
|
||||
@@ -63,13 +66,9 @@ public class StandardStorage extends DataStorage {
|
||||
ErrorEvent.fromThrowable(e).terminal(true).build().handle();
|
||||
}
|
||||
|
||||
this.gitStorageHandler.init(dir);
|
||||
this.gitStorageHandler.beforeStorageLoad();
|
||||
|
||||
var storesDir = getStoresDir();
|
||||
var categoriesDir = getCategoriesDir();
|
||||
var dataDir = getDataDir();
|
||||
|
||||
try {
|
||||
FileUtils.forceMkdir(storesDir.toFile());
|
||||
FileUtils.forceMkdir(categoriesDir.toFile());
|
||||
|
||||
Reference in New Issue
Block a user