Skip to content

Commit

Permalink
Set the TERMUX_ANDROID10=1 environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall authored and Leonid Pliushch committed Aug 13, 2020
1 parent a8847a9 commit 7847647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup java
uses: actions/setup-java@v1
with:
java-version: 9
java-version: 11
- name: Build
run: |
./gradlew assembleDebug
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/termux/app/BackgroundJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ static String[] buildEnvironment(boolean failSafe, String cwd) {

List<String> environment = new ArrayList<>();

environment.add("TERMUX_ANDROID10=1");
environment.add("TERM=xterm-256color");
environment.add("COLORTERM=truecolor");
environment.add("HOME=" + TermuxService.HOME_PATH);
Expand Down

0 comments on commit 7847647

Please sign in to comment.