Skip to content

Commit

Permalink
Patched: Disable export of TERMUX_API_APP__* environment variables …
Browse files Browse the repository at this point in the history
…as app variables will be written to `termux-apps-info.env` file for the stable `v0.119.0` release

Removes `TERMUX_API_APP__APP_VERSION_NAME`.
  • Loading branch information
agnostic-apollo committed Jun 17, 2024
1 parent 3f6ebd3 commit 3ae0d60
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ public HashMap<String, String> getEnvironment(@NonNull Context currentPackageCon
if (termuxAppEnvironment != null)
environment.putAll(termuxAppEnvironment);

/*
HashMap<String, String> termuxApiAppEnvironment = TermuxAPIShellEnvironment.getEnvironment(currentPackageContext);
if (termuxApiAppEnvironment != null)
environment.putAll(termuxApiAppEnvironment);
*/

environment.put(ENV_HOME, TermuxConstants.TERMUX_HOME_DIR_PATH);
environment.put(ENV_PREFIX, TermuxConstants.TERMUX_PREFIX_DIR_PATH);
Expand Down

0 comments on commit 3ae0d60

Please sign in to comment.