Compare commits

...

4 Commits

Author SHA1 Message Date
len
706fa82a37 Fix fdroid not building 2016-06-10 20:29:21 +02:00
len
57c54fa275 Upgrade version name too 2016-06-09 11:57:59 +02:00
len
38c5234e46 Upgrade version code 2016-06-09 11:48:07 +02:00
len
767ee164e6 Cloudflare fix. Closes #344 2016-06-09 11:39:55 +02:00
2 changed files with 3 additions and 4 deletions

View File

@ -38,9 +38,8 @@ android {
minSdkVersion 16
targetSdkVersion 23
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
versionCode 8
versionCode project.findProperty('versionCode')?.toInteger() ?: 8
versionName "0.2.2"
versionCode 9
versionName "0.2.2-1"
buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\""
buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\""

View File

@ -55,7 +55,7 @@ class CloudflareInterceptor(private val cookies: PersistentCookieStore) : Interc
val js = operation
//language=RegExp
.replace(Regex("""a\.value =(.+?) \+ .+?;"""), "$1")
.replace(Regex("""a\.value =(.+?) \+.*"""), "$1")
//language=RegExp
.replace(Regex("""\s{3,}[a-z](?: = |\.).+"""), "")
.replace("\n", "")