v1.0.0-beta.2

Fixed bug which prevented mods with declared extensions in their identifiers from being loaded.
Synced distribution.json with remote.
Updated electron-builder.
Updated readme to include information on beta testing.
This commit is contained in:
Daniel Scalzi
2018-08-15 09:17:59 -04:00
parent d581a2896a
commit 50317c3fc2
6 changed files with 66 additions and 55 deletions

View File

@@ -245,10 +245,20 @@ class Module {
return this.artifactGroup
}
/**
* @returns {string} The identifier without he version or extension.
*/
getVersionlessID(){
return this.getGroup() + ':' + this.getID()
}
/**
* @returns {string} The identifier without the extension.
*/
getExtensionlessID(){
return this.getIdentifier().split('@')[0]
}
/**
* @returns {string} The version of this module's artifact.
*/