mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #354 from chinmaygarde/master
Add launcher icons and update display name for Asteroids on iOS
This commit is contained in:
commit
656bf6ecfa
@ -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" ]
|
||||
}
|
||||
|
||||
@ -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",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
BIN
sky/packages/sky/example/game/assets/Icon.png
Normal file
BIN
sky/packages/sky/example/game/assets/Icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
BIN
sky/packages/sky/example/game/assets/Icon@2x.png
Normal file
BIN
sky/packages/sky/example/game/assets/Icon@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@ -12,6 +12,9 @@
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>game_app</string>
|
||||
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Asteroids</string>
|
||||
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.domokit.sky.game</string>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user