mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
add launcher icon on Android
This commit is contained in:
parent
a4ce032c8b
commit
5619fc993b
2 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
android:versionName="1.0">
|
||||
<uses-sdk android:minSdkVersion="15"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
|
||||
<application android:label="@string/app_name" android:debuggable="true">
|
||||
<application android:label="@string/app_name" android:debuggable="true" android:icon="@mipmap/${LIBSUPERDERPY_GAMENAME}">
|
||||
<activity android:name="net.dosowisko.${LIBSUPERDERPY_GAMENAME}.SuperDerpyActivity"
|
||||
android:label="@string/app_name"
|
||||
android:launchMode="singleTask"
|
||||
|
|
|
@ -159,6 +159,8 @@ if(ANDROID)
|
|||
|
||||
file(COPY "${CMAKE_SOURCE_DIR}/data/" DESTINATION "${CMAKE_BINARY_DIR}/android/assets/")
|
||||
|
||||
file(COPY "${CMAKE_SOURCE_DIR}/data/icons/${LIBSUPERDERPY_GAMENAME}.png" DESTINATION "${CMAKE_BINARY_DIR}/android/res/mipmap/")
|
||||
|
||||
execute_process(COMMAND ${ANDROID_UPDATE_COMMAND} WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/android")
|
||||
|
||||
endif(ANDROID)
|
||||
|
|
Loading…
Reference in a new issue