mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix vault init order
This commit is contained in:
parent
8d474c2640
commit
d75cffd3a3
1 changed files with 3 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue