mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
feat: add remote sync capability - fix build.gradle.kts, remove unused strings
This commit is contained in:
parent
100d3dac7c
commit
d50fbe566c
2 changed files with 15 additions and 19 deletions
|
@ -27,11 +27,11 @@ fun String.execute() = ByteArrayOutputStream().use { baot ->
|
|||
}
|
||||
|
||||
val localProperties = Properties()
|
||||
val localPropertiesEnabled = try {
|
||||
try {
|
||||
localProperties.load(FileInputStream(rootProject.file("local.properties")))
|
||||
true
|
||||
} catch (_: Exception) {
|
||||
false
|
||||
localProperties.setProperty("debug.gdrive.clientId", "")
|
||||
localProperties.setProperty("debug.gdrive.secret", "")
|
||||
}
|
||||
|
||||
|
||||
|
@ -95,7 +95,6 @@ android {
|
|||
"proguard-rules.pro"
|
||||
)
|
||||
|
||||
if (localPropertiesEnabled) {
|
||||
resValue(
|
||||
"string",
|
||||
"debug_gdrive_secret",
|
||||
|
@ -108,7 +107,6 @@ android {
|
|||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
flavorDimensions.add("state")
|
||||
productFlavors {
|
||||
create("stable") {
|
||||
|
|
|
@ -663,9 +663,7 @@
|
|||
<string name="subscription_new">Subscribed to %s</string>
|
||||
<string name="subscription_deleted">Unsubscribed from %s</string>
|
||||
<string name="subscription_episode_released">Episode %d released!</string>
|
||||
<string name="example_login_client_confirmation_code">OAuth Confirmation Code</string>
|
||||
<string name="confirm_next">Confirm</string>
|
||||
<string name="example_login_file_name_full">Sync file name (optional)</string>
|
||||
<string name="example_login_redirect_url_full">Oauth redirect url (optional)</string>
|
||||
<string name="example_redirect_url">https://chiff.github.io/cloudstream-sync/google-drive</string>
|
||||
<string name="example_redirect_url" translatable="false">https://chiff.github.io/cloudstream-sync/google-drive</string>
|
||||
</resources>
|
Loading…
Reference in a new issue