termux-tools: companion of termux/termux-app#1031

This commit is contained in:
Tom Yan 2019-02-12 11:15:39 +08:00
parent 399499497c
commit 25612e0536
2 changed files with 2 additions and 5 deletions

View File

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

View File

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