Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kronos2308 committed Sep 25, 2021
1 parent 18c4d4f commit 789745f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ INCLUDES := include
EXEFS_SRC := exefs_src
APP_TITLE := Haku33
APP_AUTHOR := Kronos2308
APP_VERSION := 4.3
APP_VERSION := 4.4
ROMFS := romfs

#---------------------------------------------------------------------------------
Expand Down
10 changes: 4 additions & 6 deletions romfs/startup.te
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ pr("Done!\nDeleting user dirs...")ud=["Album","Contents","save","saveMeta","temp
if(mount("USER")){p("Mount failed!")pe()}
ud.foreach("x"){pr("\n"+x,"")if(deldir("bis:/"+x)){p("Dir deletion failed")pe()}mkdir("bis:/"+x)}
mkdir("bis:/Contents/placehld")mkdir("bis:/Contents/registered")
color(0x00FF00)p("\n\nDone!")pause()

color("GREEN")
println("\n\nDone!")
println("\n\nCleaning!")
color(0x00FF00)
p("\n\nCleaning!")

movefile("sd:/Nintendo", "sd:/Hamburgesa_Nintendo")
movefile("sd:/Nintendo", "sd:/Hamburgesa_Nintendo_1")
Expand All @@ -44,6 +41,7 @@ delfile("sd:/Haku33.nro")
delfile("sd:/Switch/Haku33.nro")
delfile("sd:/Switch/Haku33/Haku33.nro")

println("\n\nPress Any button to full power off!")
p("\n\nDone!")
p("\n\nPress Any button to full power off!")
pause()
power(3)

0 comments on commit 789745f

Please sign in to comment.