- ForgeWrapper update fixes 1.12.2 forge installer errors.
- 1.18 compatibility.
This commit is contained in:
Pierce 2021-11-29 12:27:40 -08:00
parent da0b61a07d
commit dfd8c185d4
4 changed files with 39 additions and 19 deletions

View file

@ -562,6 +562,7 @@ class Handler {
'${auth_session}': this.options.authorization.access_token,
'${auth_player_name}': this.options.authorization.name,
'${auth_uuid}': this.options.authorization.uuid,
'${auth_xuid}': this.options.authorization.meta.xuid || this.options.authorization.access_token,
'${user_properties}': this.options.authorization.user_properties,
'${user_type}': this.options.authorization.meta.type,
'${version_name}': this.options.version.number,
@ -569,7 +570,8 @@ class Handler {
'${game_directory}': this.options.overrides.gameDirectory || this.options.root,
'${assets_root}': assetPath,
'${game_assets}': assetPath,
'${version_type}': this.options.version.type
'${version_type}': this.options.version.type,
'${clientid}': this.options.authorization.meta.clientId || (this.options.authorization.client_token || this.options.authorization.access_token)
}
if (this.options.authorization.meta.demo) {

View file

@ -23,9 +23,9 @@ class MCLCore extends EventEmitter {
},
fw: {
baseUrl: 'https://github.com/ZekerZhayard/ForgeWrapper/releases/download/',
version: '1.5.2',
sh1: '6930ac286c079a9df5b766974020ef7ad1fc5d3b',
size: 34217,
version: '1.5.3',
sh1: '2b0e06937349a209dbb90dca6381258daa456ad7',
size: 30486,
...this.options.overrides
? this.options.overrides.fw
: undefined