Skip to content

Commit c1c46df

Browse files
Changed: Change TERMUX_APP.APPS_DIR_PATH basename from termux-app to com.termux
The apps directory will now use the unique package name of apps for basename that can be automatically generated instead of having to be hardcoded. `termux-am-socket` will be upgraded to `v1.4.0` for respective change.
1 parent 37f08c4 commit c1c46df

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

termux-shared/src/main/java/com/termux/shared/termux/TermuxConstants.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import java.util.List;
1212

1313
/*
14-
* Version: v0.43.0
14+
* Version: v0.44.0
1515
* SPDX-License-Identifier: MIT
1616
*
1717
* Changelog
@@ -245,6 +245,9 @@
245245
*
246246
* - 0.43.0 (2022-05-29)
247247
* - Changed `TERMUX_SUPPORT_EMAIL_URL` to support@termux.dev.
248+
*
249+
* - 0.44.0 (2022-05-29)
250+
* - Changed `TERMUX_APP.APPS_DIR_PATH` basename from `termux-app` to `com.termux`.
248251
*/
249252

250253
/**
@@ -896,10 +899,10 @@ public final class TermuxConstants {
896899
public static final class TERMUX_APP {
897900

898901
/** Termux apps directory path */
899-
public static final String APPS_DIR_PATH = TERMUX_APPS_DIR_PATH + "/termux-app"; // Default: "/data/data/com.termux/files/apps/termux-app"
902+
public static final String APPS_DIR_PATH = TERMUX_APPS_DIR_PATH + "/" + TERMUX_PACKAGE_NAME; // Default: "/data/data/com.termux/files/apps/com.termux"
900903

901904
/** termux-am socket file path */
902-
public static final String TERMUX_AM_SOCKET_FILE_PATH = APPS_DIR_PATH + "/termux-am/am.sock"; // Default: "/data/data/com.termux/files/apps/termux-app/termux-am/am.sock"
905+
public static final String TERMUX_AM_SOCKET_FILE_PATH = APPS_DIR_PATH + "/termux-am/am.sock"; // Default: "/data/data/com.termux/files/apps/com.termux/termux-am/am.sock"
903906

904907

905908
/** Termux app core activity name. */

0 commit comments

Comments
 (0)