Fix rfx producing hideous ascii-dirty Rez files

This commit is contained in:
Elliot Nunn 2020-06-23 13:47:08 +08:00
parent 96e063057d
commit 45644ff08a

View File

@ -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