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 6c42fa08a9
commit 926d7474a0

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"