Adding "game_assets" and "auth_session" launcher variables for legacy releases

This commit is contained in:
Fierelier 2021-03-28 05:37:31 +02:00
parent 6f43132cf4
commit 5616c4668e

View File

@ -99,6 +99,10 @@ def main():
launcherVariables["user_type"] = "offline"
launcherVariables["version_type"] = clientJson["type"]
# legacy:
launcherVariables["game_assets"] = assetsPath
launcherVariables["auth_session"] = "-"
args = json.loads(lv["jvmArguments"])
args.append("-Djava.library.path=" +nativesOutPath)
args.append("-cp")