[PCCompat > Plugin] Add manifest

This commit is contained in:
Ducko 2021-06-07 18:48:53 +01:00 committed by Alyxia Sother
parent c999320da0
commit 9b36c9d799
No known key found for this signature in database
GPG Key ID: 355968D14144B739
1 changed files with 12 additions and 0 deletions

View File

@ -22,6 +22,18 @@ export class Plugin {
Settings.makeStore(this.entityID);
}
// Supposed to return PC manifest, which we don't store so return a rough one based on GM metadata
get manifest() {
return {
name: this.name,
description: this.description,
version: this.version,
author: this.authors.toString(),
license: 'Unknown'
}
}
get entityID() {
return this.name;
}