Skip to content

Commit a757a37

Browse files
committed
Add tip about refreshing icon and what to do if it still doesn't show up
1 parent b8ce61e commit a757a37

File tree

1 file changed

+3
-0
lines changed
  • articles/tutorials/building_2d_games/25_packaging_game

1 file changed

+3
-0
lines changed

articles/tutorials/building_2d_games/25_packaging_game/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,9 @@ To create this structure, from the same terminal window:
248248
> [!NOTE]
249249
> `iconutil` is a command line tool in macOS used to convert icon sets into a single high-resolution `.icns` file.
250250

251+
> [!TIP]
252+
> After creating the `.icns` file using the above command, if you open the folder in Finder with `DungeonSlime.app` and it shows a blank square as the icon instead of the one you just created, right-click on `DungeonSlime.app` and choose `Get Info` from the context menu. This will force it to do a refresh and show the icon properly. After doing this, if the icon still does not show, then you need to double check that the `CFBundleIconFile` value in the `Info.plist` is named **exactly** the same as the `.icns` file that was created (minus the extension).
253+
251254
8. Set executable permissions for the game executable. To do this, execute the following command:
252255

253256
```sh

0 commit comments

Comments
 (0)