Skip to content

Commit

Permalink
Merge pull request #13 from ManiacOfGitHub/mane
Browse files Browse the repository at this point in the history
fix deleting x_finalize_helper.firm, also remove finalize helpers on NAND
  • Loading branch information
lilyuwuu authored Dec 30, 2024
2 parents 9df4a05 + 3d87ab7 commit f6c4c5c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion romfs/finalize/finalize.gm9
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
# Credits: GM9Megascript contributors ("Scripts from Plailect's Guide"), Mr. Burguers (SD card capacity check), ihaveamac (title.db stuff), J0n_b0 (MSET9 check), Naim2000 (better Nintendo 3DS folder check)

rm -o -s 0:/luma/payloads/finalize_helper.firm
rm -o -s 0:/luma/payloads/*_finalize_helper.firm
for 0:/luma/payloads *_finalize_helper.firm
rm -o -s $[FORPATH]
next

set PREVIEW_MODE "> Checking for problems...\nAsking for permission... ---\nInstalling homebrew... ---\nCopying GodMode9 to CTRNAND... ---\nCleaning up SD card... ---\nBacking up essential.exefs... ---\nBacking up NAND... ---"

Expand Down Expand Up @@ -334,6 +336,13 @@ end

cp -w -o -s 0:/luma/payloads 1:/rw/luma/payloads

# Delete Finalizing Setup Helper on CTRNAND if it exists

rm -o -s 1:/rw/luma/payloads/finalize_helper.firm
for 1:/rw/luma/payloads *_finalize_helper.firm
rm -o -s $[FORPATH]
next

set PREVIEW_MODE "Checking for problems... DONE\nAsking for permission... DONE\nInstalling homebrew... DONE\nCopying GodMode9 to CTRNAND... DONE\n> Cleaning up SD card...\nBacking up essential.exefs... ---\nBacking up NAND... ---"

if find 0:/gm9/flags/INSTALLFLAG NULL
Expand Down

0 comments on commit f6c4c5c

Please sign in to comment.