mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-12 23:48:10 -07:00
Migrate asset packs folder
This commit is contained in:
@@ -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
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user