Browse Source

Merge pull request #3337 from tomty89/app_995

termux-tools: companion of termux/termux-app#1031
emacs-27
Leonid Plyushch 6 years ago
committed by GitHub
parent
commit
efb7cbaa90
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/termux-tools/build.sh
  2. 5
      packages/termux-tools/termux-open

2
packages/termux-tools/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://termux.com/ TERMUX_PKG_HOMEPAGE=https://termux.com/
TERMUX_PKG_DESCRIPTION="Basic system tools for Termux" TERMUX_PKG_DESCRIPTION="Basic system tools for Termux"
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=0.62 TERMUX_PKG_VERSION=0.63
TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_PLATFORM_INDEPENDENT=yes
TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_ESSENTIAL=yes
TERMUX_PKG_DEPENDS="termux-am" TERMUX_PKG_DEPENDS="termux-am"

5
packages/termux-tools/termux-open

@ -37,12 +37,9 @@ fi
FILE="$1" FILE="$1"
if [ -f "$FILE" ]; then if [ -f "$FILE" ]; then
FILE=`realpath "$FILE"` FILE=$(realpath "$FILE")
fi fi
# Fix for issues on Android 8.1.
FILE=$(echo "$FILE" | sed 's/^\///')
am broadcast --user 0 \ am broadcast --user 0 \
-a $ACTION \ -a $ACTION \
-n com.termux/com.termux.app.TermuxOpenReceiver \ -n com.termux/com.termux.app.TermuxOpenReceiver \

Loading…
Cancel
Save