Finished settings

This commit is contained in:
2020-12-29 00:39:20 +01:00
parent bbe7b5849a
commit 5c17a540ee
15 changed files with 199 additions and 51 deletions
+8
View File
@@ -256,6 +256,14 @@ class optimizer
}
}
public static function repack_all(osu_library $library) : void
{
foreach ($library->get_library() as $key => $mapset)
{
self::repack($library, $mapset["key"]);
}
}
public static function repack(osu_library $library, string $key) : string
{
$path = $library->get_library()[$key]["path"] ?? "";