Adding "game_assets" and "auth_session" launcher variables for legacy releases
This commit is contained in:
parent
6f43132cf4
commit
5616c4668e
@ -99,6 +99,10 @@ def main():
|
|||||||
launcherVariables["user_type"] = "offline"
|
launcherVariables["user_type"] = "offline"
|
||||||
launcherVariables["version_type"] = clientJson["type"]
|
launcherVariables["version_type"] = clientJson["type"]
|
||||||
|
|
||||||
|
# legacy:
|
||||||
|
launcherVariables["game_assets"] = assetsPath
|
||||||
|
launcherVariables["auth_session"] = "-"
|
||||||
|
|
||||||
args = json.loads(lv["jvmArguments"])
|
args = json.loads(lv["jvmArguments"])
|
||||||
args.append("-Djava.library.path=" +nativesOutPath)
|
args.append("-Djava.library.path=" +nativesOutPath)
|
||||||
args.append("-cp")
|
args.append("-cp")
|
||||||
|
Loading…
Reference in New Issue
Block a user