Point license server to license.ttrpgplayer.ru and bump to 1.0.1.

Update hardcoded API URL and versionCode for the new production host.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-07-01 16:31:49 +08:00
parent 74a6795b6f
commit bf6f347a44
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ APK: `app/build/outputs/apk/debug/app-debug.apk`
1. Откройте проект в Android Studio (или соберите через Gradle, см. выше).
2. При первом запуске укажите в **Настройках**:
- URL: `https://license.mailib.ru/` (или локальный сервер)
- URL: `https://license.ttrpgplayer.ru/` (или локальный сервер)
- Admin token с сервера (`LICENSE_ADMIN_TOKEN`)
3. Run на устройстве или эмуляторе.
+2 -2
View File
@@ -12,8 +12,8 @@ android {
applicationId = "ru.mailib.ttrpg.licensemanager"
minSdk = 26
targetSdk = 35
versionCode = 1
versionName = "1.0.0"
versionCode = 2
versionName = "1.0.1"
}
buildTypes {
@@ -22,7 +22,7 @@ data class AppSettings(
) {
companion object {
/** Продакшен-сервер лицензий (захардкожен, не меняется в UI). */
const val SERVER_URL = "https://license.mailib.ru/"
const val SERVER_URL = "https://license.ttrpgplayer.ru/"
@Deprecated("Use SERVER_URL", ReplaceWith("SERVER_URL"))
const val DEFAULT_SERVER_URL = SERVER_URL
}