File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -642,14 +642,6 @@ def writeProtectCheck():
642642 else :
643643 prgood ("SD card is writeable!" )
644644
645- # Section: SD card free space
646- # ensure 16MB free space
647- if not fs .ensurespace (16 * 1024 * 1024 ):
648- #prbad(f"Error 06: You need at least 16MB free space on your SD card, you have {(freeSpace / 1000000):.2f} bytes!")
649- prbad ("Error 06: You need at least 16MB free space on your SD card!" )
650- prinfo ("Please free up some space and try again." )
651- exitOnEnter ()
652-
653645clearScreen ()
654646print (f"MSET9 { VERSION } SETUP by zoogie, Aven, DannyAAM and thepikachugamer" )
655647print ("What is your console model and version?" )
@@ -841,6 +833,9 @@ def injection(create=True):
841833 fs .remove (triggerFilePath )
842834 haxState = 4
843835 prgood ("Removed trigger file." )
836+ if not fs .ensurespace (16 * 1024 * 1024 ): # This is a good time to actually check the space
837+ prbad ("Error 06: You need at least 16MB free space on your SD card!" )
838+ prinfo ("Please free up some space and try again." )
844839 return
845840
846841 prinfo ("Injecting trigger file..." )
You can’t perform that action at this time.
0 commit comments