GM9Megascript: Move payloads when moving Luma

copy luma/payloads, and remove the unneeded `-a` in the allow command because only lvl 1 perms are needed here
This commit is contained in:
aspargas2 2019-12-31 00:23:26 -05:00 committed by d0k3
parent 98c1b25bb0
commit 130ff694e2

View File

@ -1128,7 +1128,7 @@ set PREVIEW_MODE "GODMODE9 ALL-IN-ONE MEGASCRIPT\nby annson24\n \nScripts from P
if not ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to work without\nan SD card.\n \nContinue?"
goto MainMenu_Scripts_from_Plailect's_Guide
end
if allow -a 1:
if allow 1:
cp -w -o -s 0:/boot.firm 1:/boot.firm
if not find 1:/rw/luma NULL
mkdir 1:/rw/luma
@ -1137,6 +1137,7 @@ if allow -a 1:
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/payloads 1:/rw/luma/payloads
echo "Luma3DS copied successfully."
else
echo "Permissions denied. Aborting."