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
No known key found for this signature in database
GPG Key ID: 5CA2F145B63535F9
6 changed files with 66 additions and 55 deletions

View File

@ -30,9 +30,10 @@
This is not an exhaustive list. Download and install the launcher to gauge all it can do! This is not an exhaustive list. Download and install the launcher to gauge all it can do!
## Alpha Tests ## Beta Tests
The launcher is currently in alpha. It's very usable, however we are still putting in a lot of work. A lot can change, at this point. For more information and instructions on how to **officially** sign up, check out the [Alpha Thread](https://westeroscraft.com/threads/new-launcher-alpha-tests.1113/). The launcher is currently available for beta testing.
For information on beta, and download instructions, please see the [Beta Thread](https://westeroscraft.com/threads/official-new-launcher-beta.1371/).
## Downloads ## Downloads

View File

@ -15,7 +15,7 @@
"name": "WesterosCraft Production Server", "name": "WesterosCraft Production Server",
"description": "Main WesterosCraft server. Connect to enter the Realm.", "description": "Main WesterosCraft server. Connect to enter the Realm.",
"icon": "http://mc.westeroscraft.com/WesterosCraftLauncher/files/server-prod.png", "icon": "http://mc.westeroscraft.com/WesterosCraftLauncher/files/server-prod.png",
"version": "3.8.0", "version": "3.9.0",
"address": "mc.westeroscraft.com", "address": "mc.westeroscraft.com",
"minecraftVersion": "1.11.2", "minecraftVersion": "1.11.2",
"discord": { "discord": {
@ -219,22 +219,22 @@
] ]
}, },
{ {
"id": "com.westeroscraft:westerosblocks:3.1.0-alpha-2-135", "id": "com.westeroscraft:westerosblocks:3.1.0-alpha-2-138",
"name": "WesterosBlocks", "name": "WesterosBlocks",
"type": "ForgeMod", "type": "ForgeMod",
"artifact": { "artifact": {
"size": 16854431, "size": 17352677,
"MD5": "ed5b2349d1ce2496895a5e8839b77f74", "MD5": "b5409aa925a47f67158c8141e71f723f",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/mods/WesterosBlocks.jar" "url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/mods/WesterosBlocks.jar"
} }
}, },
{ {
"id": "com.westeroscraft:westeroscraftrp:2018-05-05", "id": "com.westeroscraft:westeroscraftrp:2018-07-21",
"name": "WesterosCraft Resource Pack", "name": "WesterosCraft Resource Pack",
"type": "File", "type": "File",
"artifact": { "artifact": {
"size": 46067606, "size": 46942221,
"MD5": "0e08b0bcf44c9d266bfe067d865ffc1e", "MD5": "26e3e63a5778691eb3a9db11f449fdf1",
"path": "resourcepacks/WesterosCraft.zip", "path": "resourcepacks/WesterosCraft.zip",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/resourcepacks/WesterosCraft.zip" "url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/resourcepacks/WesterosCraft.zip"
} }
@ -430,7 +430,7 @@
"name": "WesterosCraft Test Server", "name": "WesterosCraft Test Server",
"description": "Main testing server. Experimental changes are live here.", "description": "Main testing server. Experimental changes are live here.",
"icon": "http://mc.westeroscraft.com/WesterosCraftLauncher/files/server-test.png", "icon": "http://mc.westeroscraft.com/WesterosCraftLauncher/files/server-test.png",
"version": "3.8.1", "version": "3.8.3",
"address": "mc.westeroscraft.com:4444", "address": "mc.westeroscraft.com:4444",
"minecraftVersion": "1.11.2", "minecraftVersion": "1.11.2",
"discord": { "discord": {
@ -634,12 +634,12 @@
] ]
}, },
{ {
"id": "com.westeroscraft:westerosblocks:3.1.0-alpha-2-136", "id": "com.westeroscraft:westerosblocks:3.1.0-alpha-2-138",
"name": "WesterosBlocks", "name": "WesterosBlocks",
"type": "ForgeMod", "type": "ForgeMod",
"artifact": { "artifact": {
"size": 17352679, "size": 17352677,
"MD5": "7a26b3f4f89bfe48f34c4fc95fc6437f", "MD5": "b5409aa925a47f67158c8141e71f723f",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/test-1.11.2/mods/WesterosBlocks.jar" "url": "http://mc.westeroscraft.com/WesterosCraftLauncher/test-1.11.2/mods/WesterosBlocks.jar"
} }
}, },

View File

@ -245,10 +245,20 @@ class Module {
return this.artifactGroup return this.artifactGroup
} }
/**
* @returns {string} The identifier without he version or extension.
*/
getVersionlessID(){ getVersionlessID(){
return this.getGroup() + ':' + this.getID() 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. * @returns {string} The version of this module's artifact.
*/ */

View File

@ -184,11 +184,11 @@ class ProcessBuilder {
const ids = [] const ids = []
if(type === 'forge'){ if(type === 'forge'){
for(let mod of mods){ for(let mod of mods){
ids.push(mod.getIdentifier()) ids.push(mod.getExtensionlessID())
} }
} else { } else {
for(let mod of mods){ for(let mod of mods){
ids.push(mod.getIdentifier() + '@' + mod.getExtension()) ids.push(mod.getExtensionlessID() + '@' + mod.getExtension())
} }
} }
modList.modRef = ids modList.modRef = ids

76
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "westeroscraftlauncher", "name": "westeroscraftlauncher",
"version": "1.0.0-beta.1", "version": "1.0.0-beta.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -99,28 +99,28 @@
"dev": true "dev": true
}, },
"app-builder-bin": { "app-builder-bin": {
"version": "2.1.1", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/app-builder-bin/-/app-builder-bin-2.1.1.tgz", "resolved": "https://registry.npmjs.org/app-builder-bin/-/app-builder-bin-2.1.2.tgz",
"integrity": "sha512-ye0fQcG/msVKJcHBOZOfXf8kIkHoY+1ZYpWyFH/jyeNRwlsdBQCmg0A+pbbTyvjiet9XQzPVA7s21oyRhUixRQ==", "integrity": "sha512-PZJspzAqB0+z60OalXChP9I05BzODd/ffDz6RvTmDG3qclr7YrnpqzvPF+T7vGVtk2nN7syuveTQROJfXcB8xA==",
"dev": true "dev": true
}, },
"app-builder-lib": { "app-builder-lib": {
"version": "20.27.1", "version": "20.28.1",
"resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-20.27.1.tgz", "resolved": "https://registry.npmjs.org/app-builder-lib/-/app-builder-lib-20.28.1.tgz",
"integrity": "sha512-nuGl5s6dGp0lbLfM3Ef/tst3ZAeKznBb+SB0zNjHR8chbU7338451y7TfDXkcLQVkvMivfhwIRlUCyN/sH5KKA==", "integrity": "sha512-OjPTarC27/P3312dNu8N6k2X1r6QGr/q243+bM+DnXddZ6qZQQDsxJz5ONW8b1chRErTUZDRaKQ8RdAYjUIbxw==",
"dev": true, "dev": true,
"requires": { "requires": {
"7zip-bin": "~4.0.2", "7zip-bin": "~4.0.2",
"app-builder-bin": "2.1.1", "app-builder-bin": "2.1.2",
"async-exit-hook": "^2.0.1", "async-exit-hook": "^2.0.1",
"bluebird-lst": "^1.0.5", "bluebird-lst": "^1.0.5",
"builder-util": "6.0.0", "builder-util": "6.1.1",
"builder-util-runtime": "4.4.1", "builder-util-runtime": "4.4.1",
"chromium-pickle-js": "^0.2.0", "chromium-pickle-js": "^0.2.0",
"debug": "^3.1.0", "debug": "^3.1.0",
"ejs": "^2.6.1", "ejs": "^2.6.1",
"electron-osx-sign": "0.4.10", "electron-osx-sign": "0.4.10",
"electron-publish": "20.27.0", "electron-publish": "20.28.0",
"fs-extra-p": "^4.6.1", "fs-extra-p": "^4.6.1",
"hosted-git-info": "^2.7.1", "hosted-git-info": "^2.7.1",
"is-ci": "^1.1.0", "is-ci": "^1.1.0",
@ -130,7 +130,7 @@
"minimatch": "^3.0.4", "minimatch": "^3.0.4",
"normalize-package-data": "^2.4.0", "normalize-package-data": "^2.4.0",
"plist": "^3.0.1", "plist": "^3.0.1",
"read-config-file": "3.1.0", "read-config-file": "3.1.2",
"sanitize-filename": "^1.6.1", "sanitize-filename": "^1.6.1",
"semver": "^5.5.0", "semver": "^5.5.0",
"temp-file": "^3.1.3" "temp-file": "^3.1.3"
@ -405,13 +405,13 @@
"integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A=="
}, },
"builder-util": { "builder-util": {
"version": "6.0.0", "version": "6.1.1",
"resolved": "https://registry.npmjs.org/builder-util/-/builder-util-6.0.0.tgz", "resolved": "https://registry.npmjs.org/builder-util/-/builder-util-6.1.1.tgz",
"integrity": "sha512-PPwBEQa8zNcgd0ht2IozdD9QDdrADSl/TkceGcErkT7By1v8LLcomBAThm+t+0Ebm7q6JJbdL2SShM6wbXRCUg==", "integrity": "sha512-n+ah8X8H+DU1YPQHCW9ayLb2g8+KENtRfPtIei0UiqP7p+pURKzL3/sMsxmu4S7mbGQBHV8R6PMu/axBjxy+Ow==",
"dev": true, "dev": true,
"requires": { "requires": {
"7zip-bin": "~4.0.2", "7zip-bin": "~4.0.2",
"app-builder-bin": "2.1.1", "app-builder-bin": "2.1.2",
"bluebird-lst": "^1.0.5", "bluebird-lst": "^1.0.5",
"builder-util-runtime": "^4.4.1", "builder-util-runtime": "^4.4.1",
"chalk": "^2.4.1", "chalk": "^2.4.1",
@ -421,7 +421,7 @@
"js-yaml": "^3.12.0", "js-yaml": "^3.12.0",
"lazy-val": "^1.0.3", "lazy-val": "^1.0.3",
"semver": "^5.5.0", "semver": "^5.5.0",
"source-map-support": "^0.5.6", "source-map-support": "^0.5.8",
"stat-mode": "^0.2.2", "stat-mode": "^0.2.2",
"temp-file": "^3.1.3" "temp-file": "^3.1.3"
}, },
@ -555,9 +555,9 @@
"dev": true "dev": true
}, },
"ci-info": { "ci-info": {
"version": "1.1.3", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.3.0.tgz",
"integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==", "integrity": "sha512-mPdvoljUhH3Feai3dakD3bwYl/8I0tSo16Ge2W+tY88yfYDKGVnXV2vFxZC8VGME01CYp+DaAZnE93VHYVapnA==",
"dev": true "dev": true
}, },
"circular-json": { "circular-json": {
@ -842,14 +842,14 @@
} }
}, },
"dmg-builder": { "dmg-builder": {
"version": "5.2.0", "version": "5.3.0",
"resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-5.2.0.tgz", "resolved": "https://registry.npmjs.org/dmg-builder/-/dmg-builder-5.3.0.tgz",
"integrity": "sha512-0doOlH/Lew4St3X5UwEyuj763sDa4GIJPBDr/0hDywPn06atclRO36Bf6oEy9BEp7YaNV5aoaOfH3l8SBBacYQ==", "integrity": "sha512-vzjrc7UmPQ+rb4tH8wbQdMq6Fu9M5chFndzhK2831xIpRsRlNlGEIWMiFRZ/MlboVL0vWxG0/2JCd2YMAevEpA==",
"dev": true, "dev": true,
"requires": { "requires": {
"app-builder-lib": "~20.27.0", "app-builder-lib": "~20.28.0",
"bluebird-lst": "^1.0.5", "bluebird-lst": "^1.0.5",
"builder-util": "~6.0.0", "builder-util": "~6.1.0",
"fs-extra-p": "^4.6.1", "fs-extra-p": "^4.6.1",
"iconv-lite": "^0.4.23", "iconv-lite": "^0.4.23",
"js-yaml": "^3.12.0", "js-yaml": "^3.12.0",
@ -928,21 +928,21 @@
} }
}, },
"electron-builder": { "electron-builder": {
"version": "20.27.1", "version": "20.28.1",
"resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-20.27.1.tgz", "resolved": "https://registry.npmjs.org/electron-builder/-/electron-builder-20.28.1.tgz",
"integrity": "sha512-jsrUX2t8Yx8n5lVzIZ7AOMGlSYSb2iZhD+BX1DQ9H0O2FNDhWBNRfQQyj0mM2slNsk+5RWpK8FpOOsn5Z8BIqw==", "integrity": "sha512-OKj107B2fV0ftOFOjQLyuKl6n+R8KJOGgGUrHaW4EI8bwqycTq67bgCc0xwPruHBWDX/Kg3tMYBRLbjUNw+6Qw==",
"dev": true, "dev": true,
"requires": { "requires": {
"app-builder-lib": "20.27.1", "app-builder-lib": "20.28.1",
"bluebird-lst": "^1.0.5", "bluebird-lst": "^1.0.5",
"builder-util": "6.0.0", "builder-util": "6.1.1",
"builder-util-runtime": "4.4.1", "builder-util-runtime": "4.4.1",
"chalk": "^2.4.1", "chalk": "^2.4.1",
"dmg-builder": "5.2.0", "dmg-builder": "5.3.0",
"fs-extra-p": "^4.6.1", "fs-extra-p": "^4.6.1",
"is-ci": "^1.1.0", "is-ci": "^1.1.0",
"lazy-val": "^1.0.3", "lazy-val": "^1.0.3",
"read-config-file": "3.1.0", "read-config-file": "3.1.2",
"sanitize-filename": "^1.6.1", "sanitize-filename": "^1.6.1",
"update-notifier": "^2.5.0", "update-notifier": "^2.5.0",
"yargs": "^12.0.1" "yargs": "^12.0.1"
@ -998,13 +998,13 @@
} }
}, },
"electron-publish": { "electron-publish": {
"version": "20.27.0", "version": "20.28.0",
"resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-20.27.0.tgz", "resolved": "https://registry.npmjs.org/electron-publish/-/electron-publish-20.28.0.tgz",
"integrity": "sha512-bmyA9PbXeYDoh2S3Q5Rcs/AT3XUKxPnx0aChfy/qbsPBc/DtZirKuHh8B9SVjo8nK9wqm531rempyEOh3LAkDw==", "integrity": "sha512-ZGwzXyWuEGIvaCCGD0tebhjYGf7lxjdmkFAW3oFjRXOBXsBl91elOzOwfRSs/7zUE9mvvE0MnyJeBlqO7SAUvA==",
"dev": true, "dev": true,
"requires": { "requires": {
"bluebird-lst": "^1.0.5", "bluebird-lst": "^1.0.5",
"builder-util": "~6.0.0", "builder-util": "~6.1.0",
"builder-util-runtime": "^4.4.1", "builder-util-runtime": "^4.4.1",
"chalk": "^2.4.1", "chalk": "^2.4.1",
"fs-extra-p": "^4.6.1", "fs-extra-p": "^4.6.1",
@ -2560,9 +2560,9 @@
} }
}, },
"read-config-file": { "read-config-file": {
"version": "3.1.0", "version": "3.1.2",
"resolved": "https://registry.npmjs.org/read-config-file/-/read-config-file-3.1.0.tgz", "resolved": "https://registry.npmjs.org/read-config-file/-/read-config-file-3.1.2.tgz",
"integrity": "sha512-z3VTrR9fgFu+Ll6MhTdtxbPFBKNGKgzYYnRjOcZvQeE/zwJTjPYVrps0ATgaSWU2/BnucUg3knP+Oz4zo9vEoA==", "integrity": "sha512-QCATYzlYHvmWps/W/eP7rcKuhYRYZg5XKeXFxSJRIXvn+KSw1+Ntz2et1aBz5TrEpawGrxWZ7zBipj+/v0xwWQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"ajv": "^6.5.2", "ajv": "^6.5.2",

View File

@ -1,6 +1,6 @@
{ {
"name": "westeroscraftlauncher", "name": "westeroscraftlauncher",
"version": "1.0.0-beta.1", "version": "1.0.0-beta.2",
"description": "Custom modded launcher for Westeroscraft", "description": "Custom modded launcher for Westeroscraft",
"productName": "WesterosCraft Launcher", "productName": "WesterosCraft Launcher",
"main": "index.js", "main": "index.js",
@ -50,7 +50,7 @@
}, },
"devDependencies": { "devDependencies": {
"electron": "^2.0.7", "electron": "^2.0.7",
"electron-builder": "^20.27.1", "electron-builder": "^20.28.1",
"eslint": "^5.3.0" "eslint": "^5.3.0"
}, },
"build": { "build": {