scrtips/action: add /dev as tmpfs option

to support APatch .litemode_enable and MKSU .notmpfs
This commit is contained in:
backslashxx 2025-02-19 14:53:28 +08:00
parent 17aa9a0035
commit 27cb00dd98

View File

@ -55,6 +55,7 @@ set_random_beta() {
TEMPDIR="$MODDIR/temp" #fallback
[ -w /sbin ] && TEMPDIR="/sbin/playintegrityfix"
[ -w /debug_ramdisk ] && TEMPDIR="/debug_ramdisk/playintegrityfix"
[ -w /dev ] && TEMPDIR="/dev/playintegrityfix"
mkdir -p "$TEMPDIR"
cd "$TEMPDIR"