mirror of
https://github.com/elliotnunn/macresources.git
synced 2024-12-12 18:30:08 +00:00
Fix rfx producing hideous ascii-dirty Rez files
This commit is contained in:
parent
96e063057d
commit
45644ff08a
2
bin/rfx
2
bin/rfx
@ -152,7 +152,7 @@ def flush_cache():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
with open(the_path, 'wb') as f:
|
with open(the_path, 'wb') as f:
|
||||||
f.write(macresources.make_rez_code(resources))
|
f.write(macresources.make_rez_code(resources, ascii_clean=True))
|
||||||
|
|
||||||
elif is_fork(the_path):
|
elif is_fork(the_path):
|
||||||
# For BASE/..namedfork/rsrc to be openable by macOS, BASE must exist
|
# For BASE/..namedfork/rsrc to be openable by macOS, BASE must exist
|
||||||
|
Loading…
Reference in New Issue
Block a user