mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-26 01:34:31 +00:00
update version
This commit is contained in:
parent
f83edaeccc
commit
e8e661e586
3
.gitignore
vendored
3
.gitignore
vendored
@ -82,3 +82,6 @@ data/
|
|||||||
build/
|
build/
|
||||||
|
|
||||||
docs/
|
docs/
|
||||||
|
HanoiTowers/client/android/build.gradle
|
||||||
|
HanoiTowers/client/android/AndroidManifest.xml
|
||||||
|
|
||||||
|
@ -73,9 +73,11 @@ SET(INSTALLER_DIR "${CMAKE_CURRENT_SOURCE_DIR}/installer/")
|
|||||||
SET(DATA_DIR "${INSTALLER_DIR}/packages/HanoiTowers/data")
|
SET(DATA_DIR "${INSTALLER_DIR}/packages/HanoiTowers/data")
|
||||||
|
|
||||||
SET(TARGET_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Distro")
|
SET(TARGET_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Distro")
|
||||||
SET(PRODUCT_VER_Mj 1)
|
|
||||||
SET(PRODUCT_VER_Mn 6)
|
updateGitVars()
|
||||||
SET(PRODUCT_VER_Re 2)
|
set(HANOI_TOWERS_SHORT_VERSION "1.${GIT_COMMIT_COUNT}")
|
||||||
|
set(HANOI_TOWERS_VERSION "${CHEAT_CARD_SHORT_VERSION}.${GIT_COMMIT_HASH}")
|
||||||
|
|
||||||
|
|
||||||
file(MAKE_DIRECTORY ${TARGET_DIR})
|
file(MAKE_DIRECTORY ${TARGET_DIR})
|
||||||
initAll()
|
initAll()
|
||||||
|
@ -33,4 +33,3 @@ target_link_libraries(${CURRENT_PROJECT} PUBLIC Heart)
|
|||||||
target_include_directories(${CURRENT_PROJECT} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
target_include_directories(${CURRENT_PROJECT} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/src")
|
||||||
target_include_directories(${CURRENT_PROJECT} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/private")
|
target_include_directories(${CURRENT_PROJECT} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/private")
|
||||||
|
|
||||||
setVersionForTarget(${CURRENT_PROJECT} ${PRODUCT_VER_Mj} ${PRODUCT_VER_Mn} ${PRODUCT_VER_Re})
|
|
||||||
|
@ -78,6 +78,13 @@ if (ANDROID)
|
|||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(manifest_file "${CMAKE_CURRENT_SOURCE_DIR}/android/AndroidManifest.xml")
|
||||||
|
configure_file("${manifest_file}.in" ${manifest_file} @ONLY)
|
||||||
|
|
||||||
|
set(gradle_file "${CMAKE_CURRENT_SOURCE_DIR}/android/build.gradle")
|
||||||
|
configure_file("${gradle_file}.in" ${gradle_file} @ONLY)
|
||||||
|
|
||||||
|
|
||||||
file(GLOB java_files
|
file(GLOB java_files
|
||||||
"android/src/com/quasarapp/androidtools/*.java"
|
"android/src/com/quasarapp/androidtools/*.java"
|
||||||
)
|
)
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<manifest package="df.mobily.hanoi_towers" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.6.1.2" android:versionCode="28" android:installLocation="auto">
|
<manifest
|
||||||
|
package="df.mobily.hanoi_towers"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:versionName="@HANOI_TOWERS_VERSION@"
|
||||||
|
android:versionCode="@GIT_COMMIT_COUNT@"
|
||||||
|
android:installLocation="auto">
|
||||||
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
|
||||||
Remove the comment if you do not require these default permissions. -->
|
Remove the comment if you do not require these default permissions. -->
|
||||||
<!-- %%INSERT_PERMISSIONS -->
|
<!-- %%INSERT_PERMISSIONS -->
|
||||||
@ -8,17 +13,38 @@
|
|||||||
Remove the comment if you do not require these default features. -->
|
Remove the comment if you do not require these default features. -->
|
||||||
<!-- %%INSERT_FEATURES -->
|
<!-- %%INSERT_FEATURES -->
|
||||||
|
|
||||||
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
|
<supports-screens
|
||||||
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="-- %%INSERT_APP_NAME%% --" android:extractNativeLibs="true" android:icon="@drawable/icon">
|
android:largeScreens="true"
|
||||||
<!-- Sample AdMob app ID: ca-app-pub-5799112356811682~1226170116 -->
|
android:normalScreens="true"
|
||||||
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-5799112356811682~1226170116"/>
|
android:anyDensity="true"
|
||||||
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density" android:name="com.quasarapp.androidtools.MainActivity" android:label="-- %%INSERT_APP_NAME%% --" android:screenOrientation="landscape" android:launchMode="singleTop" android:exported="true">
|
android:smallScreens="true"/>
|
||||||
|
<application
|
||||||
|
android:hardwareAccelerated="true"
|
||||||
|
android:name="com.quasarapp.androidtools.MainApplication"
|
||||||
|
android:label="-- %%INSERT_APP_NAME%% --"
|
||||||
|
android:extractNativeLibs="true"
|
||||||
|
android:requestLegacyExternalStorage="true"
|
||||||
|
android:icon="@drawable/icon">
|
||||||
|
<activity
|
||||||
|
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
|
||||||
|
android:name="com.quasarapp.androidtools.MainActivity"
|
||||||
|
android:label="-- %%INSERT_APP_NAME%% --"
|
||||||
|
android:screenOrientation="landscape"
|
||||||
|
android:launchMode="singleTop"
|
||||||
|
android:exported="true"
|
||||||
|
|
||||||
|
android:theme="@style/splashScreenTheme">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.nfc.action.NDEF_DISCOVERED"/>
|
||||||
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
|
<data android:mimeType="data/cheatcard"/>
|
||||||
|
</intent-filter>
|
||||||
<!-- Application arguments -->
|
<!-- Application arguments -->
|
||||||
<!-- meta-data android:name="android.app.arguments" android:value="arg1 arg2 arg3"/ -->
|
<meta-data android:name="android.app.arguments" android:value="-- %%INSERT_APP_ARGUMENTS%% --"/>
|
||||||
<!-- Application arguments -->
|
<!-- Application arguments -->
|
||||||
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
|
<meta-data android:name="android.app.lib_name" android:value="-- %%INSERT_APP_LIB_NAME%% --"/>
|
||||||
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
|
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
|
||||||
@ -58,9 +84,6 @@
|
|||||||
signal is sent! -->
|
signal is sent! -->
|
||||||
<meta-data android:name="android.app.background_running" android:value="false"/>
|
<meta-data android:name="android.app.background_running" android:value="false"/>
|
||||||
<!-- Background running -->
|
<!-- Background running -->
|
||||||
<!-- auto screen scale factor -->
|
|
||||||
<meta-data android:name="android.app.auto_screen_scale_factor" android:value="false"/>
|
|
||||||
<!-- auto screen scale factor -->
|
|
||||||
<!-- extract android style -->
|
<!-- extract android style -->
|
||||||
<!-- available android:values :
|
<!-- available android:values :
|
||||||
* default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons
|
* default - In most cases this will be the same as "full", but it can also be something else if needed, e.g., for compatibility reasons
|
||||||
@ -70,14 +93,13 @@
|
|||||||
-->
|
-->
|
||||||
<meta-data android:name="android.app.extract_android_style" android:value="default"/>
|
<meta-data android:name="android.app.extract_android_style" android:value="default"/>
|
||||||
<!-- extract android style -->
|
<!-- extract android style -->
|
||||||
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/logo"/>
|
<meta-data android:name="android.app.splash_screen_drawable" android:resource="@drawable/splashscreen"/>
|
||||||
<meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/logo_portrait"/>
|
<meta-data android:name="android.app.splash_screen_drawable_portrait" android:resource="@drawable/splashscreen_port"/>
|
||||||
<meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/logo_landscape"/>
|
<meta-data android:name="android.app.splash_screen_drawable_landscape" android:resource="@drawable/splashscreen_land"/>
|
||||||
</activity>
|
</activity>
|
||||||
<!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
|
<!-- For adding service(s) please check: https://wiki.qt.io/AndroidServices -->
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
||||||
</manifest>
|
</manifest>
|
@ -75,6 +75,6 @@ android {
|
|||||||
resConfig "en"
|
resConfig "en"
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
minSdkVersion = 21
|
minSdkVersion = 21
|
||||||
targetSdkVersion = 31
|
targetSdkVersion = @ANDROID_API_VERSION@
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user