Files
TEESimulator-RS/module/daemon
T
2025-08-06 19:46:42 +05:30

16 lines
432 B
Bash

#!/system/bin/sh
MODDIR=$1
# Determine classpath
if [ -f "$MODDIR/classes.dex" ]; then
CLASSPATH="$MODDIR/classes.dex"
elif [ -f "$MODDIR/service.apk" ]; then
CLASSPATH="$MODDIR/service.apk"
else
echo "Error: Neither classes.dex nor service.apk found in $MODDIR"
exit 1
fi
exec /system/bin/app_process -Djava.class.path="$CLASSPATH" "$MODDIR" --nice-name=TrickyStoreOSS io.github.beakthoven.TrickyStoreOSS.MainKt