mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
Asset Packer: Fix font terminator causing freezes/crashes (#295)
* Asset Packer: Fix font terminator causing freezes/crashes * Update changelog
This commit is contained in:
@@ -200,6 +200,7 @@
|
||||
- OFW: Fix detection of GProx II cards and false detection of other cards (by @Astrrra)
|
||||
- OFW: Fix Guard GProxII False Positive and 36-bit Parsing (by @zinongli)
|
||||
- OFW: GProxII Fix Writing and Rendering Conflict (by @zinongli)
|
||||
- Asset Packer: Fix font terminator causing freezes/crashes, like in Marauder AP scan/list (#295 by @Willy-JL)
|
||||
- Desktop:
|
||||
- Fallback Poweroff prompt when power settings is unavailable (by @Willy-JL)
|
||||
- Sub-GHz:
|
||||
|
||||
@@ -119,6 +119,7 @@ def pack_font(src: pathlib.Path, dst: pathlib.Path):
|
||||
.decode("unicode_escape")
|
||||
.encode("latin_1")
|
||||
)
|
||||
font += b"\0"
|
||||
dst.with_suffix(".u8f").write_bytes(font)
|
||||
elif src.suffix == ".u8f":
|
||||
if not dst.is_file():
|
||||
|
||||
Reference in New Issue
Block a user