Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deleting x_finalize_helper.firm, also remove finalize helpers on NAND #13

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading