summaryrefslogtreecommitdiffstats
path: root/platform/macos/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-03-09 22:20:23 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-03-09 22:20:23 +0100
commit0ace0a129284ffc6646b199699c1607a316fcec0 (patch)
tree82c37d0f9c972396d0031fc757a33fc35576af5d /platform/macos/SCsub
parent7d6ae138fa7064270ee61fed747a11780c2f1c0f (diff)
parentd9fa40f2df44d775e82332577d44de402b23611f (diff)
downloadredot-engine-0ace0a129284ffc6646b199699c1607a316fcec0.tar.gz
Merge pull request #89333 from Repiteo/enforce-eol-python
Enforce `\n` eol for Python writes
Diffstat (limited to 'platform/macos/SCsub')
-rw-r--r--platform/macos/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/SCsub b/platform/macos/SCsub
index 9083c2a288..135779582d 100644
--- a/platform/macos/SCsub
+++ b/platform/macos/SCsub
@@ -36,7 +36,7 @@ def generate_bundle(target, source, env):
version = get_build_version(False)
short_version = get_build_version(True)
with open(Dir("#misc/dist/macos").abspath + "/editor_info_plist.template", "rt") as fin:
- with open(app_dir + "/Contents/Info.plist", "wt") as fout:
+ with open(app_dir + "/Contents/Info.plist", "wt", encoding="utf-8", newline="\n") as fout:
for line in fin:
line = line.replace("$version", version)
line = line.replace("$short_version", short_version)