mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCCompat > Plugin] Add manifest
This commit is contained in:
parent
c999320da0
commit
9b36c9d799
1 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue