Compare commits
3 Commits
2024.4.29-
...
develop
Author | SHA1 | Date |
---|---|---|
wpetit | f0d068a4ef | |
wpetit | 9b835c2f6e | |
wpetit | 384b351fbc |
|
@ -3,13 +3,8 @@ plugins {
|
||||||
id 'org.jetbrains.kotlin.android'
|
id 'org.jetbrains.kotlin.android'
|
||||||
}
|
}
|
||||||
|
|
||||||
def versionCode() {
|
def appVersionCode = Integer.valueOf(System.env.VERSION_CODE ?: 1)
|
||||||
return System.env.VERSION_CODE ? System.env.VERSION_CODE.toInteger() : 0
|
def appVersionName = System.env.VERSION_NAME ?: "0.0.0"
|
||||||
}
|
|
||||||
|
|
||||||
def versionName() {
|
|
||||||
return System.env.VERSION_NAME ? System.env.VERSION_NAME : "0.0.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.cadoles.arcast_player'
|
namespace 'com.cadoles.arcast_player'
|
||||||
|
@ -19,8 +14,8 @@ android {
|
||||||
applicationId "com.cadoles.arcast_player"
|
applicationId "com.cadoles.arcast_player"
|
||||||
minSdk 24
|
minSdk 24
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode versionCode()
|
versionCode appVersionCode
|
||||||
versionName versionName()
|
versionName appVersionName
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
|
@ -33,6 +28,10 @@ android {
|
||||||
minifyEnabled false
|
minifyEnabled false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
|
debug {
|
||||||
|
applicationIdSuffix = ".debug"
|
||||||
|
versionNameSuffix = "-debug"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
|
|
@ -7,7 +7,8 @@ Exec=arcast-player run --additional-chrome-arg incognito --additional-chrome-arg
|
||||||
Icon=arcast-player
|
Icon=arcast-player
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Categories=Network;Utility
|
Categories=Network;Utility
|
||||||
|
Actions=Kiosk
|
||||||
|
|
||||||
[Desktop Action kiosk]
|
[Desktop Action Kiosk]
|
||||||
Name=Start in kiosk mode
|
Name=Start in kiosk mode
|
||||||
Exec=arcast-player run --additional-chrome-arg incognito --additional-chrome-arg kiosk
|
Exec=arcast-player run --additional-chrome-arg incognito --additional-chrome-arg kiosk
|
Loading…
Reference in New Issue