Add suffix to package name

".github" for CI builds
".local" by default
This commit is contained in:
Patrick Nicolas
2024-10-08 17:59:05 +02:00
parent 60108e287e
commit aa91c978d5
3 changed files with 9 additions and 4 deletions
+5 -2
View File
@@ -72,8 +72,8 @@ android {
compileSdkVersion 32
targetSdkVersion 32 // for Oculus Store
versionName = project.hasProperty('wivrn_version') ? wivrn_version : "1.0"
versionCode = project.hasProperty('wivrn_versionCode') ? wivrn_versionCode.toInteger() : 1
versionName = project.hasProperty('wivrn_version') ? wivrn_version : "1.0"
versionCode = project.hasProperty('wivrn_versionCode') ? wivrn_versionCode.toInteger() : 1
externalNativeBuild {
cmake {
@@ -113,6 +113,7 @@ android {
release {
manifestPlaceholders.ComOculusSupportedDevices = "all"
applicationIdSuffix = project.hasProperty('suffix') ? suffix: ".local"
}
releaseDebuggable {
@@ -131,10 +132,12 @@ android {
oculus
{
initWith release
applicationIdSuffix = project.hasProperty('suffix') ? suffix: ""
manifestPlaceholders.ComOculusSupportedDevices = "quest2|quest3|questpro"
}
debug {
applicationIdSuffix = project.hasProperty('suffix') ? suffix: ".local"
manifestPlaceholders.ComOculusSupportedDevices = "all"
}