diff --git a/core/src/trezor/res/resources.py.mako b/core/src/trezor/res/resources.py.mako index a180cdeec0..d71e4cccb2 100644 --- a/core/src/trezor/res/resources.py.mako +++ b/core/src/trezor/res/resources.py.mako @@ -14,7 +14,7 @@ PATTERNS = ( "apps/*/res/**/*.toif", ) -resfiles = chain.from_iterable(SRCDIR.glob(p) for p in PATTERNS) +resfiles = chain.from_iterable(sorted(SRCDIR.glob(p)) for p in PATTERNS) %>\ def load_resource(name: str) -> bytes: