Compare commits

..

No commits in common. "develop" and "2024.4.29-develop.1151.7c75b47" have entirely different histories.

2 changed files with 10 additions and 10 deletions

View File

@ -3,8 +3,13 @@ plugins {
id 'org.jetbrains.kotlin.android'
}
def appVersionCode = Integer.valueOf(System.env.VERSION_CODE ?: 1)
def appVersionName = System.env.VERSION_NAME ?: "0.0.0"
def versionCode() {
return System.env.VERSION_CODE ? System.env.VERSION_CODE.toInteger() : 0
}
def versionName() {
return System.env.VERSION_NAME ? System.env.VERSION_NAME : "0.0.0"
}
android {
namespace 'com.cadoles.arcast_player'
@ -14,8 +19,8 @@ android {
applicationId "com.cadoles.arcast_player"
minSdk 24
targetSdk 34
versionCode appVersionCode
versionName appVersionName
versionCode versionCode()
versionName versionName()
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
@ -28,10 +33,6 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
debug {
applicationIdSuffix = ".debug"
versionNameSuffix = "-debug"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8

View File

@ -7,8 +7,7 @@ Exec=arcast-player run --additional-chrome-arg incognito --additional-chrome-arg
Icon=arcast-player
Terminal=false
Categories=Network;Utility
Actions=Kiosk
[Desktop Action Kiosk]
[Desktop Action kiosk]
Name=Start in kiosk mode
Exec=arcast-player run --additional-chrome-arg incognito --additional-chrome-arg kiosk