Merge pull request #3337 from tomty89/app_995
termux-tools: companion of termux/termux-app#1031
This commit is contained in:
commit
e8ddc40037
@ -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"
|
||||||
|
@ -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…
Reference in New Issue
Block a user