Compare commits

..

No commits in common. "ee61ea49793ecc84a5522fed857563431a570464" and "d7d08036616c9d2dede5373a23892a23e763ebee" have entirely different histories.

4 changed files with 27 additions and 31 deletions

View File

@ -468,7 +468,7 @@ class ProcessBuilder {
val = this.authUser.accessToken
break
case 'user_type':
val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang'
val = 'mojang'
break
case 'version_type':
val = this.versionData.type
@ -566,7 +566,7 @@ class ProcessBuilder {
val = this.authUser.accessToken
break
case 'user_type':
val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang'
val = 'mojang'
break
case 'user_properties': // 1.8.9 and below.
val = '{}'

View File

@ -180,11 +180,7 @@ function saveSettingsValues(){
if(v.type === 'number' || v.type === 'text'){
// Special Conditions
if(cVal === 'JVMOptions'){
if(!v.value.trim()) {
sFn([])
} else {
sFn(v.value.trim().split(/\s+/))
}
sFn(v.value.split(' '))
} else {
sFn(v.value)
}

44
package-lock.json generated
View File

@ -28,9 +28,9 @@
"winreg": "^1.2.4"
},
"devDependencies": {
"electron": "^18.0.1",
"electron": "^17.2.0",
"electron-builder": "^22.14.13",
"eslint": "^8.12.0"
"eslint": "^8.11.0"
},
"engines": {
"node": "16.x.x"
@ -495,9 +495,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "16.11.26",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.26.tgz",
"integrity": "sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ=="
"version": "14.18.12",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.12.tgz",
"integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A=="
},
"node_modules/@types/plist": {
"version": "3.0.2",
@ -1573,13 +1573,13 @@
}
},
"node_modules/electron": {
"version": "18.0.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-18.0.1.tgz",
"integrity": "sha512-8y3nxmK+v/tiuaR8yd4K83ApHxgomMIPAEl3J+2Jfv/D5G6M3KnvxNlNiNoTXI8uOegfmoqiDm5/2xlWFLzfLQ==",
"version": "17.2.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-17.2.0.tgz",
"integrity": "sha512-eNXhPVEUofkgAeqRFvTizzYecoCMyS0Rar08WZHSAw9wjfZXawYMvTpjjjk9GiX9W/+Cjxua4YtGn5bOTabc0A==",
"hasInstallScript": true,
"dependencies": {
"@electron/get": "^1.13.0",
"@types/node": "^16.11.26",
"@types/node": "^14.6.2",
"extract-zip": "^1.0.3"
},
"bin": {
@ -1767,9 +1767,9 @@
}
},
"node_modules/eslint": {
"version": "8.12.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.12.0.tgz",
"integrity": "sha512-it1oBL9alZg1S8UycLm5YDMAkIhtH6FtAzuZs6YvoGVldWjbS08BkAdb/ymP9LlAyq8koANu32U7Ib/w+UNh8Q==",
"version": "8.11.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.11.0.tgz",
"integrity": "sha512-/KRpd9mIRg2raGxHRGwW9ZywYNAClZrHjdueHcrVDuO3a6bj83eoTirCCk0M0yPwOjWYKHwRVRid+xK4F/GHgA==",
"dev": true,
"dependencies": {
"@eslint/eslintrc": "^1.2.1",
@ -4869,9 +4869,9 @@
"dev": true
},
"@types/node": {
"version": "16.11.26",
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.26.tgz",
"integrity": "sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ=="
"version": "14.18.12",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.12.tgz",
"integrity": "sha512-q4jlIR71hUpWTnGhXWcakgkZeHa3CCjcQcnuzU8M891BAWA2jHiziiWEPEkdS5pFsz7H9HJiy8BrK7tBRNrY7A=="
},
"@types/plist": {
"version": "3.0.2",
@ -5723,12 +5723,12 @@
}
},
"electron": {
"version": "18.0.1",
"resolved": "https://registry.npmjs.org/electron/-/electron-18.0.1.tgz",
"integrity": "sha512-8y3nxmK+v/tiuaR8yd4K83ApHxgomMIPAEl3J+2Jfv/D5G6M3KnvxNlNiNoTXI8uOegfmoqiDm5/2xlWFLzfLQ==",
"version": "17.2.0",
"resolved": "https://registry.npmjs.org/electron/-/electron-17.2.0.tgz",
"integrity": "sha512-eNXhPVEUofkgAeqRFvTizzYecoCMyS0Rar08WZHSAw9wjfZXawYMvTpjjjk9GiX9W/+Cjxua4YtGn5bOTabc0A==",
"requires": {
"@electron/get": "^1.13.0",
"@types/node": "^16.11.26",
"@types/node": "^14.6.2",
"extract-zip": "^1.0.3"
}
},
@ -5877,9 +5877,9 @@
"devOptional": true
},
"eslint": {
"version": "8.12.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.12.0.tgz",
"integrity": "sha512-it1oBL9alZg1S8UycLm5YDMAkIhtH6FtAzuZs6YvoGVldWjbS08BkAdb/ymP9LlAyq8koANu32U7Ib/w+UNh8Q==",
"version": "8.11.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.11.0.tgz",
"integrity": "sha512-/KRpd9mIRg2raGxHRGwW9ZywYNAClZrHjdueHcrVDuO3a6bj83eoTirCCk0M0yPwOjWYKHwRVRid+xK4F/GHgA==",
"dev": true,
"requires": {
"@eslint/eslintrc": "^1.2.1",

View File

@ -42,9 +42,9 @@
"winreg": "^1.2.4"
},
"devDependencies": {
"electron": "^18.0.1",
"electron": "^17.2.0",
"electron-builder": "^22.14.13",
"eslint": "^8.12.0"
"eslint": "^8.11.0"
},
"repository": {
"type": "git",