Files
TEESimulator-RS/module/daemon
T
JingMatrix ed9164d9d8 Rename TrickyStoreOSS to TEESimulator (#3)
We should keep the java class name to facilitate the process of tracking back commit history.
2025-11-02 15:56:33 +01:00

16 lines
430 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=TEESimulator io.github.beakthoven.TrickyStoreOSS.MainKt