Fixed Setup Luma to CtrNAND

Fixes #427, merges #430
This commit is contained in:
annson24 2018-09-25 11:59:34 +04:00 committed by d0k3
parent bfc3363012
commit 0286d9cde9

View File

@ -1102,7 +1102,15 @@ if not ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to
end end
if allow -a 1: if allow -a 1:
cp -w -o -s 0:/boot.firm 1:/boot.firm cp -w -o -s 0:/boot.firm 1:/boot.firm
cp -w -o -s 0:/luma 1:/rw/luma if not find 1:/rw/luma NULL
mkdir 1:/rw/luma
end
cp -w -o -s 0:/luma/config.bin 1:/rw/luma/config.bin
cp -w -o -s 0:/luma/customversion_sys.txt 1:/rw/luma/customversion_sys.txt
cp -w -o -s 0:/luma/splash.bin 1:/rw/luma/splash.bin
cp -w -o -s 0:/luma/splashbottom.bin 1:/rw/luma/splashbottom.bin
cp -w -o -s 0:/luma/splashpin.bin 1:/rw/luma/splashpin.bin
cp -w -o -s 0:/luma/payloads 1:/rw/luma/payloads
echo "Luma3DS copied successfully." echo "Luma3DS copied successfully."
else else
echo "Permissions denied. Aborting." echo "Permissions denied. Aborting."