Skip to content

Commit

Permalink
Use external_status instead of status (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshiiden authored Jan 10, 2025
1 parent 6c77b5d commit 17e8ba6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion main/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if env_main.editor_build and not env_main["no_editor_splash"]:
env.Run(main_builders.make_splash_editor),
)

icon_png_path = "#main/icons/app_icon_" + env.version_info["status"] + ".png"
icon_png_path = "#main/icons/app_icon_" + env.version_info["external_status"] + ".png"
env_main.Depends("#main/app_icon.gen.h", icon_png_path)
env_main.CommandNoCache(
"#main/app_icon.gen.h",
Expand Down
2 changes: 1 addition & 1 deletion platform/android/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if lib_arch_dir != "":
for mipmap_dir_name in ["mipmap", "mipmap-hdpi", "mipmap-mdpi", "mipmap-xhdpi", "mipmap-xxhdpi", "mipmap-xxxhdpi"]:
env_android.Command(
"#platform/android/java/lib/res/" + mipmap_dir_name,
"#platform/android/icons/" + env_android.version_info["status"] + "/" + mipmap_dir_name,
"#platform/android/icons/" + env_android.version_info["external_status"] + "/" + mipmap_dir_name,
Copy("$TARGET", "$SOURCE"),
)

Expand Down
4 changes: 2 additions & 2 deletions platform/macos/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def generate_bundle(target, source, env):
if "mono" in env.module_version_string:
shutil.copytree(Dir("#bin/GodotSharp").abspath, app_dir + "/Contents/Resources/GodotSharp")
shutil.copy(
File("#platform/macos/icons/Godot_" + env.version_info["status"] + ".icns").abspath,
app_dir + "/Contents/Resources/Godot.icns",
File("#platform/macos/icons/Blazium_" + env.version_info["external_status"] + ".icns").abspath,
app_dir + "/Contents/Resources/Blazium.icns",
)
version = get_build_version(False)
short_version = get_build_version(True)
Expand Down
4 changes: 2 additions & 2 deletions platform/windows/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def rc_defs_builder(target, source, env):
with methods.generated_wrapper(dst) as file:
file.write(
"""\
#define ICON_PATH platform/windows/icons/blazium_{status}.ico
#define ICON_WRAP_PATH platform/windows/icons/blazium_console_{status}.ico
#define ICON_PATH platform/windows/icons/blazium_{external_status}.ico
#define ICON_WRAP_PATH platform/windows/icons/blazium_console_{external_status}.ico
""".format(**env.version_info)
)

Expand Down

0 comments on commit 17e8ba6

Please sign in to comment.