refactor to read more from package.json

This commit is contained in:
undergroundwires
2020-09-22 20:41:12 +01:00
parent 19a092dd31
commit 784a67afff
30 changed files with 374 additions and 158 deletions

View File

@@ -39,7 +39,7 @@ export class ApplicationState implements IApplicationState {
/** Initially selected scripts */
public readonly defaultScripts: Script[]) {
this.selection = new UserSelection(app, defaultScripts.map((script) => new SelectedScript(script, false)));
this.code = new ApplicationCode(this.selection, app.version);
this.code = new ApplicationCode(this.selection, app.info.version);
this.filter = new UserFilter(app);
}
}