Migrate asset packs folder

This commit is contained in:
ClaraCrazy
2023-07-24 13:54:32 +02:00
parent 37939dec86
commit 3264c37e5b
439 changed files with 13 additions and 10 deletions
+2 -2
View File
@@ -149,14 +149,14 @@ def pack(
if __name__ == "__main__":
input(
"This will look through all the subfolders next to this file and try to pack them\n"
"The resulting asset packs will be saved to 'dolphin_custom' in this folder\n"
"The resulting asset packs will be saved to 'asset_packs' in this folder\n"
"Press [Enter] if you wish to continue"
)
print()
here = pathlib.Path(__file__).absolute().parent
start = time.perf_counter()
pack(here, here / "dolphin_custom", logger=print)
pack(here, here / "asset_packs", logger=print)
end = time.perf_counter()
input(f"\nFinished in {round(end - start, 2)}s\n" "Press [Enter] to exit")
+2 -2
View File
@@ -283,8 +283,8 @@ extern const size_t ICON_PATHS_COUNT;
self.logger.info("Packing custom asset packs")
root_dir = pathlib.Path(__file__).absolute().parent.parent
asset_packer.pack(
root_dir / "assets/dolphin/custom",
root_dir / f"assets/resources/dolphin_custom",
root_dir / "assets/packs",
root_dir / f"assets/resources/asset_packs",
self.logger.info,
)