Skip to content

Commit

Permalink
Update AppManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalgust committed Oct 8, 2024
1 parent 1a6e105 commit 379081d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extlib/xgui/src/main/java/org/mini/apploader/AppManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.mini.layout.xwebview.*;

import java.io.*;
import java.net.URLEncoder;
import java.util.*;

/**
Expand Down Expand Up @@ -825,7 +826,7 @@ void updateScriptEnvironment() {
envVarProvider.setEnvVar("appid", AppLoader.getBaseInfo("appid"));
envVarProvider.setEnvVar("appzone", AppLoader.getBaseInfo("appzone"));
envVarProvider.setEnvVar("sver", AppLoader.getBaseInfo("sver"));
envVarProvider.setEnvVar("jar", System.getProperty("os.name").toLowerCase());
envVarProvider.setEnvVar("jar", URLEncoder.encode(System.getProperty("os.name").toLowerCase()));
envVarProvider.setEnvVar("from", AppLoader.getBaseInfo("from"));
envVarProvider.setEnvVar("cver", AppLoader.getBaseInfo("cver"));
envVarProvider.setEnvVar("policy_url", AppLoader.getBaseInfo("policyUrl"));
Expand Down

0 comments on commit 379081d

Please sign in to comment.