Skip to content

Commit e110756

Browse files
committed
Urgent disable SDAI Cloud Google Play deploy
1 parent e4a5dc6 commit e110756

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ android {
2121
namespace 'com.shifthackz.aisdv1.app'
2222
defaultConfig {
2323
applicationId "com.shifthackz.aisdv1.app"
24-
versionName "0.4.12"
25-
versionCode 159
24+
versionName "0.4.13"
25+
versionCode 160
2626

2727
buildConfigField "String", "CLOUD_AI_URL", "\"https://sdai.moroz.cc\""
2828
buildConfigField "String", "IMAGE_CDN_URL", "\"https://random.imagecdn.app\""

data/src/main/java/com/shifthackz/aisdv1/data/preference/PreferenceManagerImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ class PreferenceManagerImpl(
114114
private const val KEY_FORM_ALWAYS_SHOW_ADVANCED_OPTIONS = "key_always_show_advanced_options"
115115
private const val KEY_SERVER_SOURCE = "key_server_source"
116116
private const val KEY_HORDE_API_KEY = "key_horde_api_key"
117-
private const val KEY_FORCE_SETUP_AFTER_UPDATE = "force_upd_setup_v0.4.1-v0.4.2"
117+
private const val KEY_FORCE_SETUP_AFTER_UPDATE = "force_upd_setup_v0.x.x-v0.4.13"
118118
}
119119
}

presentation/src/main/java/com/shifthackz/aisdv1/presentation/screen/setup/ServerSetupContract.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ enum class ServerSetupLaunchSource(val key: Int) {
120120
val BuildType.allowedModes: List<ServerSetupState.Mode>
121121
get() = when (this) {
122122
BuildType.FOSS -> listOf(ServerSetupState.Mode.OWN_SERVER, ServerSetupState.Mode.HORDE)
123-
BuildType.GOOGLE_PLAY -> ServerSetupState.Mode.values().toList()
123+
BuildType.GOOGLE_PLAY -> listOf(ServerSetupState.Mode.OWN_SERVER, ServerSetupState.Mode.HORDE)
124+
//BuildType.GOOGLE_PLAY -> ServerSetupState.Mode.values().toList()
124125
}
125126

126127
val Configuration.authType: ServerSetupState.AuthType

0 commit comments

Comments
 (0)