mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-11 03:21:14 +01:00
export app version in environment variable
This commit is contained in:
parent
01929397cf
commit
e03858f065
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ import android.content.Intent;
|
|||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
|
||||
import com.termux.BuildConfig;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
|
|
@ -138,6 +140,7 @@ public final class BackgroundJob {
|
|||
|
||||
List<String> environment = new ArrayList<>();
|
||||
|
||||
environment.add("TERMUX_VERSION=" + BuildConfig.VERSION_NAME);
|
||||
environment.add("TERM=xterm-256color");
|
||||
environment.add("COLORTERM=truecolor");
|
||||
environment.add("HOME=" + TermuxService.HOME_PATH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue