Преглед на файлове

Mention ICO size caveats in Changing application icon for Windows

(cherry picked from commit 7d84733c36e9e373db70ac02e3662c495217e6e7)
Hugo Locurcio преди 4 години
родител
ревизия
3f3483d1e4
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      getting_started/workflow/export/changing_application_icon_for_windows.rst

+ 8 - 0
getting_started/workflow/export/changing_application_icon_for_windows.rst

@@ -25,6 +25,14 @@ using this `ImageMagick <https://www.imagemagick.org/>`_ command:
 
     magick convert icon.png -define icon:auto-resize=256,128,64,48,32,16 icon.ico
 
+.. warning::
+
+    For the ICO file to effectively replace the default Godot icon, it must
+    contain *all* the sizes included in the default Godot icon: 16×16, 32×32,
+    48×48, 64×64, 128×128, 256×256. If the ICO file does not contain all the sizes,
+    the default Godot icon will be kept for the sizes that weren't overridden.
+
+    The above ImageMagick command takes this into account.
 
 Changing the taskbar icon
 -------------------------