diff --git a/main.php b/main.php index 40d3f83..1dad653 100644 --- a/main.php +++ b/main.php @@ -78,6 +78,12 @@ if (isset($_GET["purify"])) redirect("./"); } +if (isset($_GET["nuke"])) +{ + @optimizer::full_nuke($lib); + redirect("./"); +} + $start = file_get_contents("resources/start.html"); $start = str_replace("{{ STYLE }}", file_get_contents("resources/style.css"), $start); echo $start; @@ -90,6 +96,7 @@ echo '[Remove storyboards]   '; echo '[Remove beatmap skins]   '; echo '[Remove custom hitsounds]   '; echo '[Remove junk files]   '; +echo '[NUKE]   '; echo '


[Explore]   '; echo "

" . count($lib->get_library()) . " mapsets loaded.

"; echo "

osu! folder: " . $lib->get_root() . "

";