2024-05-18 17:24:26 +03:00
|
|
|
#!/system/bin/sh
|
|
|
|
|
|
|
|
BASE_DIR=$(dirname $0)
|
2024-05-18 22:18:52 +03:00
|
|
|
ABIS=$(getprop ro.system.product.cpu.abilist)
|
|
|
|
ABIS=${ABIS:-$(getprop ro.product.cpu.abilist)}
|
2024-05-18 17:24:26 +03:00
|
|
|
|
2024-05-18 22:18:52 +03:00
|
|
|
for LIB_DIR in $BASE_DIR/lib/{$ABIS}; do
|
2024-05-18 17:24:26 +03:00
|
|
|
[ -d "$LIB_DIR" ] && break
|
|
|
|
unset -v LIB_DIR
|
|
|
|
done
|
|
|
|
|
2024-06-15 19:25:02 +03:00
|
|
|
app_process \
|
|
|
|
-Djava.class.path=$BASE_DIR/classes.dex \
|
|
|
|
-Djava.library.path=$LIB_DIR:/system/lib64:/system/lib \
|
|
|
|
/sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@"
|