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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user