@@ -17,7 +17,7 @@ def generate_bundle(target, source, env):
17
17
18
18
if env .editor_build :
19
19
# Editor bundle.
20
- prefix = "godot ." + env ["platform" ] + "." + env ["target" ]
20
+ prefix = "redot ." + env ["platform" ] + "." + env ["target" ]
21
21
if env .dev_build :
22
22
prefix += ".dev"
23
23
if env ["precision" ] == "double" :
@@ -46,9 +46,9 @@ def generate_bundle(target, source, env):
46
46
if not os .path .isdir (app_dir + "/Contents/MacOS" ):
47
47
os .mkdir (app_dir + "/Contents/MacOS" )
48
48
if target_bin != "" :
49
- shutil .copy (target_bin , app_dir + "/Contents/MacOS/Godot " )
49
+ shutil .copy (target_bin , app_dir + "/Contents/MacOS/Redot " )
50
50
if "mono" in env .module_version_string :
51
- shutil .copytree (Dir ("#bin/GodotSharp " ).abspath , app_dir + "/Contents/Resources/GodotSharp " )
51
+ shutil .copytree (Dir ("#bin/RedotSharp " ).abspath , app_dir + "/Contents/Resources/RedotSharp " )
52
52
version = get_build_version (False )
53
53
short_version = get_build_version (True )
54
54
with open (Dir ("#misc/dist/macos" ).abspath + "/editor_info_plist.template" , "rt" , encoding = "utf-8" ) as fin :
@@ -78,9 +78,9 @@ def generate_bundle(target, source, env):
78
78
79
79
else :
80
80
# Template bundle.
81
- app_prefix = "godot ." + env ["platform" ]
82
- rel_prefix = "godot ." + env ["platform" ] + "." + "template_release"
83
- dbg_prefix = "godot ." + env ["platform" ] + "." + "template_debug"
81
+ app_prefix = "redot ." + env ["platform" ]
82
+ rel_prefix = "redot ." + env ["platform" ] + "." + "template_release"
83
+ dbg_prefix = "redot ." + env ["platform" ] + "." + "template_debug"
84
84
if env .dev_build :
85
85
app_prefix += ".dev"
86
86
rel_prefix += ".dev"
@@ -103,9 +103,9 @@ def generate_bundle(target, source, env):
103
103
if not os .path .isdir (app_dir + "/Contents/MacOS" ):
104
104
os .mkdir (app_dir + "/Contents/MacOS" )
105
105
if rel_target_bin != "" :
106
- shutil .copy (rel_target_bin , app_dir + "/Contents/MacOS/godot_macos_release .universal" )
106
+ shutil .copy (rel_target_bin , app_dir + "/Contents/MacOS/redot_macos_release .universal" )
107
107
if dbg_target_bin != "" :
108
- shutil .copy (dbg_target_bin , app_dir + "/Contents/MacOS/godot_macos_debug .universal" )
108
+ shutil .copy (dbg_target_bin , app_dir + "/Contents/MacOS/redot_macos_debug .universal" )
109
109
110
110
# ZIP .app bundle.
111
111
zip_dir = Dir ("#bin/" + (app_prefix + env .extra_suffix + env .module_version_string ).replace ("." , "_" )).abspath
0 commit comments