mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
FBT: Fix pack gen from precompiled assets
This commit is contained in:
@@ -86,10 +86,18 @@ def _packs_emitter(target, source, env):
|
||||
source_dir.rel_path(node).removesuffix(".png") + ".bm"
|
||||
for node in env.GlobRecursive("*/Anims/**/*.png", source_dir.srcnode())
|
||||
)
|
||||
target.update(
|
||||
source_dir.rel_path(node)
|
||||
for node in env.GlobRecursive("*/Icons/**/*.bmx", source_dir.srcnode())
|
||||
)
|
||||
target.update(
|
||||
source_dir.rel_path(node).removesuffix(".png") + ".bmx"
|
||||
for node in env.GlobRecursive("*/Icons/**/*.png", source_dir.srcnode())
|
||||
)
|
||||
target.update(
|
||||
source_dir.rel_path(node)
|
||||
for node in env.GlobRecursive("*/Fonts/*.u8f", source_dir.srcnode())
|
||||
)
|
||||
target.update(
|
||||
source_dir.rel_path(node).removesuffix(".c") + ".u8f"
|
||||
for node in env.GlobRecursive("*/Fonts/*.c", source_dir.srcnode())
|
||||
|
||||
Reference in New Issue
Block a user