diff --git a/packages/termux-tools/build.sh b/packages/termux-tools/build.sh index 4fb563170..02e2d804a 100644 --- a/packages/termux-tools/build.sh +++ b/packages/termux-tools/build.sh @@ -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.59 +TERMUX_PKG_VERSION=0.60 TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_ESSENTIAL=yes TERMUX_PKG_DEPENDS="termux-am" diff --git a/packages/termux-tools/termux-open b/packages/termux-tools/termux-open index 0afe2d587..c8f6e23cc 100755 --- a/packages/termux-tools/termux-open +++ b/packages/termux-tools/termux-open @@ -40,6 +40,9 @@ if [ -f "$FILE" ]; then 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 \