mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] Работа врапперов без токена
This commit is contained in:
parent
826a6c7567
commit
24987bac6c
1 changed files with 2 additions and 1 deletions
|
@ -65,6 +65,7 @@ public void addCustomEnv(ClientLauncherContext context) {
|
||||||
env.put("GUARD_USERNAME", context.playerProfile.username);
|
env.put("GUARD_USERNAME", context.playerProfile.username);
|
||||||
env.put("GUARD_PUBLICKEY", config.publicKey.getModulus().toString(16));
|
env.put("GUARD_PUBLICKEY", config.publicKey.getModulus().toString(16));
|
||||||
env.put("GUARD_PROJECTNAME", config.projectname);
|
env.put("GUARD_PROJECTNAME", config.projectname);
|
||||||
|
if(protectToken != null)
|
||||||
env.put("GUARD_TOKEN", protectToken);
|
env.put("GUARD_TOKEN", protectToken);
|
||||||
if(config.guardLicenseName != null)
|
if(config.guardLicenseName != null)
|
||||||
env.put("GUARD_LICENSE_NAME", config.guardLicenseName);
|
env.put("GUARD_LICENSE_NAME", config.guardLicenseName);
|
||||||
|
|
Loading…
Reference in a new issue