diff --git a/app/assets/js/configmanager.js b/app/assets/js/configmanager.js index 00d25c3..7339209 100644 --- a/app/assets/js/configmanager.js +++ b/app/assets/js/configmanager.js @@ -318,9 +318,9 @@ exports.addAuthAccount = function(uuid, accessToken, username, displayName){ config.selectedAccount = uuid config.authenticationDatabase[uuid] = { accessToken, - username, + username: username.trim(), uuid, - displayName + displayName: displayName.trim() } return config.authenticationDatabase[uuid] } diff --git a/app/assets/js/processbuilder.js b/app/assets/js/processbuilder.js index db6af7a..764594c 100644 --- a/app/assets/js/processbuilder.js +++ b/app/assets/js/processbuilder.js @@ -252,10 +252,10 @@ class ProcessBuilder { let val = null switch(identifier){ case 'auth_player_name': - val = this.authUser.displayName + val = this.authUser.displayName.trim() break case 'version_name': - //val = versionData.id + //val = versionData.id val = this.server.getID() break case 'game_directory': diff --git a/package-lock.json b/package-lock.json index 2ccc2c2..4e3afb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "westeroscraftlauncher", - "version": "1.0.0-beta.4", + "version": "1.0.0-beta.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index bac94cd..4c1a74d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "westeroscraftlauncher", - "version": "1.0.0-beta.4", + "version": "1.0.0-beta.5", "description": "Custom modded launcher for Westeroscraft", "productName": "WesterosCraft Launcher", "main": "index.js",