Skip to content

Commit 937545c

Browse files
Changed: Change socket path as per termux/termux-app@c1c46dfc
1 parent c1ba409 commit 937545c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

termux-am.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717

18-
#define SOCKET_PATH "@TERMUX_PREFIX@/../apps/termux-app/termux-am/am.sock"
18+
#define SOCKET_PATH "@TERMUX_APPS_DIR@/@TERMUX_APP_PACKAGE@/termux-am/am.sock"

termux-am.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Available command_options:
117117
118118
119119
termux-am-socket sends the converted string to
120-
"@TERMUX_PREFIX@/../apps/termux-app/termux-am/am.sock"
120+
"@TERMUX_APPS_DIR@/@TERMUX_APP_PACKAGE@/termux-am/am.sock"
121121
local unix socket server that is run by termux-app if enabled, which
122122
executes it as an android activity manager (am) command from within
123123
termux-app java process via termux/termux-am-library.

0 commit comments

Comments
 (0)