Indent NANDManager (#365)

This commit is contained in:
windows-server-2003 2018-05-03 19:00:14 +09:00 committed by d0k3
parent a35ebacab1
commit aee58273f0

View File

@ -3,6 +3,7 @@
keysel -o -s "Select an option." nmopt_* keysel -o -s "Select an option." nmopt_*
goto nm_menu goto nm_menu
#goto options_main #goto options_main
@nmopt_A_Backup_EmuNAND @nmopt_A_Backup_EmuNAND
# EmuNAND backup GM9 script # EmuNAND backup GM9 script
# This will create a backup named [SERIAL]_nandmin_???.bin # This will create a backup named [SERIAL]_nandmin_???.bin
@ -15,6 +16,7 @@ cp -h E:/nand_minsize.bin $[OUTPATH]
echo "Backup created succesfully:\n$[OUTPATH]" echo "Backup created succesfully:\n$[OUTPATH]"
end end
goto nm_menu goto nm_menu
@nmopt_X_Backup_SysNAND @nmopt_X_Backup_SysNAND
# SysNAND backup GM9 script # SysNAND backup GM9 script
# This will create a backup named [SERIAL]_nandmin_???.bin # This will create a backup named [SERIAL]_nandmin_???.bin
@ -27,6 +29,7 @@ cp -h S:/nand_minsize.bin $[OUTPATH]
echo "Backup created succesfully:\n$[OUTPATH]" echo "Backup created succesfully:\n$[OUTPATH]"
end end
goto nm_menu goto nm_menu
@nmopt_Y_Restore_EmuNAND @nmopt_Y_Restore_EmuNAND
# EmuNAND restore GM9 script # EmuNAND restore GM9 script
# This will restore a backup from 0:/gm9/out, expecting the name scheme from the backup scripts # This will restore a backup from 0:/gm9/out, expecting the name scheme from the backup scripts
@ -51,6 +54,7 @@ end
end end
end end
goto nm_menu goto nm_menu
@nmopt_L_Restore_SysNAND_(Full) @nmopt_L_Restore_SysNAND_(Full)
# SysNAND full restore GM9 script # SysNAND full restore GM9 script
# This will restore a backup from 0:/gm9/out, expecting the name scheme from the backup scripts # This will restore a backup from 0:/gm9/out, expecting the name scheme from the backup scripts
@ -76,6 +80,7 @@ end
end end
end end
goto nm_menu goto nm_menu
@nmopt_R_Restore_SysNAND_(Safe) @nmopt_R_Restore_SysNAND_(Safe)
# SysNAND safe restore GM9 script # SysNAND safe restore GM9 script
# This will restore a backup from 0:/gm9/out, expecting the name scheme from the backup scripts # This will restore a backup from 0:/gm9/out, expecting the name scheme from the backup scripts
@ -120,6 +125,7 @@ end
end end
end end
goto nm_menu goto nm_menu
@nmopt_LEFT_Transfer_Emu_to_Sys @nmopt_LEFT_Transfer_Emu_to_Sys
if find E:/nand.bin NULL if find E:/nand.bin NULL
set ERRORMSG "No qualifying exploit found.\nAborting to avoid bricking the device." set ERRORMSG "No qualifying exploit found.\nAborting to avoid bricking the device."
@ -139,6 +145,7 @@ else
echo "EmuNAND not found." echo "EmuNAND not found."
end end
goto nm_menu goto nm_menu
@nmopt_RIGHT_Transfer_Sys_to_Emu @nmopt_RIGHT_Transfer_Sys_to_Emu
if find E:/nand.bin NULL if find E:/nand.bin NULL
set SUCCESSMSG "SysNAND successfully transferred to EmuNAND." set SUCCESSMSG "SysNAND successfully transferred to EmuNAND."
@ -151,8 +158,11 @@ else
echo "EmuNAND not found." echo "EmuNAND not found."
end end
goto nm_menu goto nm_menu
@nmopt_START_Reboot @nmopt_START_Reboot
reboot reboot
@nmopt_SELECT_Power_Off @nmopt_SELECT_Power_Off
poweroff poweroff
@nmopt_UP_Exit_Script @nmopt_UP_Exit_Script