From 0286d9cde9ee4935e0abd36d554d3d2a33d51792 Mon Sep 17 00:00:00 2001 From: annson24 Date: Tue, 25 Sep 2018 11:59:34 +0400 Subject: [PATCH] Fixed `Setup Luma to CtrNAND` Fixes #427, merges #430 --- resources/gm9/scripts/GM9Megascript.gm9 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/resources/gm9/scripts/GM9Megascript.gm9 b/resources/gm9/scripts/GM9Megascript.gm9 index e05c506..9e94a35 100644 --- a/resources/gm9/scripts/GM9Megascript.gm9 +++ b/resources/gm9/scripts/GM9Megascript.gm9 @@ -1102,7 +1102,15 @@ if not ask "This will copy Luma3DS to your CTRNAND,\nallowing for the system to end if allow -a 1: 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." else echo "Permissions denied. Aborting."