diff --git a/sky/build/sky_app.gni b/sky/build/sky_app.gni index 0a780695123..ce9664430ef 100644 --- a/sky/build/sky_app.gni +++ b/sky/build/sky_app.gni @@ -112,6 +112,9 @@ template("sky_app") { "//third_party/icu/android/icudtl.dat", "$target_gen_dir/app.skyx", ] + + resources += invoker.launcher_icons + bundle_directory = "." deps = [ ":app" ] } diff --git a/sky/packages/sky/example/game/BUILD.gn b/sky/packages/sky/example/game/BUILD.gn index aecc1613c68..ba22f659774 100644 --- a/sky/packages/sky/example/game/BUILD.gn +++ b/sky/packages/sky/example/game/BUILD.gn @@ -16,5 +16,9 @@ sky_app("game") { ] } else if (is_ios) { info_plist = "ios/Info.plist" + launcher_icons = [ + "assets/Icon.png", + "assets/Icon@2x.png", + ] } } diff --git a/sky/packages/sky/example/game/assets/Icon.png b/sky/packages/sky/example/game/assets/Icon.png new file mode 100644 index 00000000000..2e9f304988c Binary files /dev/null and b/sky/packages/sky/example/game/assets/Icon.png differ diff --git a/sky/packages/sky/example/game/assets/Icon@2x.png b/sky/packages/sky/example/game/assets/Icon@2x.png new file mode 100644 index 00000000000..558e0614b3b Binary files /dev/null and b/sky/packages/sky/example/game/assets/Icon@2x.png differ diff --git a/sky/packages/sky/example/game/ios/Info.plist b/sky/packages/sky/example/game/ios/Info.plist index a2de16e6392..c40a1ba8657 100644 --- a/sky/packages/sky/example/game/ios/Info.plist +++ b/sky/packages/sky/example/game/ios/Info.plist @@ -12,6 +12,9 @@ CFBundleExecutable game_app + CFBundleDisplayName + Asteroids + CFBundleIdentifier org.domokit.sky.game