Skip to content

Commit

Permalink
GM9Megascript: Move payloads when moving Luma
Browse files Browse the repository at this point in the history
copy luma/payloads, and remove the unneeded `-a` in the allow command because only lvl 1 perms are needed here
  • Loading branch information
aspargas2 authored and d0k3 committed Jan 2, 2020
1 parent 98c1b25 commit 130ff69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/gm9/scripts/GM9Megascript.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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."
Expand Down

0 comments on commit 130ff69

Please sign in to comment.