fix(core): update
This commit is contained in:
@@ -3,6 +3,13 @@ import * as paths from './npmextra.paths.js';
|
||||
import { KeyValueStore } from './npmextra.classes.keyvaluestore.js';
|
||||
|
||||
export class AppData {
|
||||
public static async createAndInit(pathArg: string) {
|
||||
const appData = new AppData(pathArg);
|
||||
await appData.init();
|
||||
return appData;
|
||||
}
|
||||
|
||||
// instance
|
||||
public readyDeferred = plugins.smartpromise.defer();
|
||||
public dirPathArg: string;
|
||||
private kvStore: KeyValueStore;
|
||||
|
Reference in New Issue
Block a user