Skip to content

Commit

Permalink
Generate build status-dependent icons for android/macos/windows versi…
Browse files Browse the repository at this point in the history
…ons of the editor
  • Loading branch information
tehKaiN authored and jss2a98aj committed Jan 9, 2025
1 parent 85845ba commit 9dbbbf2
Show file tree
Hide file tree
Showing 197 changed files with 422 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ project.properties
platform/android/java/*/.cxx/
platform/android/java/*/build/
platform/android/java/*/libs/
platform/android/java/lib/res/mipmap/
platform/android/java/lib/res/mipmap-*dpi/

# Macos
misc/dist/macos_tools.app/Contents/Resources/Godot.icns

# iOS
*.dSYM
Expand Down
5 changes: 3 additions & 2 deletions main/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ if env_main.editor_build and not env_main["no_editor_splash"]:
env.Run(main_builders.make_splash_editor),
)

env_main.Depends("#main/app_icon.gen.h", "#main/app_icon.png")
icon_png_path = "#main/icons/app_icon_" + env.version_info["status"] + ".png"
env_main.Depends("#main/app_icon.gen.h", icon_png_path)
env_main.CommandNoCache(
"#main/app_icon.gen.h",
"#main/app_icon.png",
icon_png_path,
env.Run(main_builders.make_app_icon),
)

Expand Down
Binary file removed main/app_icon.png
Binary file not shown.
Binary file added main/icons/app_icon_beta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added main/icons/app_icon_dev.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added main/icons/app_icon_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added main/icons/app_icon_stable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion misc/dist/icon_console.svg

This file was deleted.

1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/console.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/status_beta.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/status_beta_mini.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/status_dev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/status_dev_mini.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/status_rc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions misc/dist/icon_generation/icon_badges/status_rc_mini.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added misc/dist/icon_generation/macos/Godot.icns
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 9dbbbf2

Please sign in to comment.