mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-26 23:35:32 +01:00
Fix AppInfo#getVersionCode signature
This commit is contained in:
parent
3c3f173975
commit
77bc3ed7c9
@ -59,7 +59,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
// should be bumped with each stable release
|
||||
val inspectorVersion = "v0.7.0"
|
||||
val inspectorVersion = "v0.7.1"
|
||||
|
||||
// counts commit count on master
|
||||
val inspectorRevision = runCatching {
|
||||
|
@ -3,6 +3,6 @@ package eu.kanade.tachiyomi
|
||||
class BuildConfig {
|
||||
companion object {
|
||||
const val VERSION_NAME = suwayomi.server.BuildConfig.NAME
|
||||
const val VERSION_CODE = suwayomi.server.BuildConfig.REVISION
|
||||
val VERSION_CODE = suwayomi.server.BuildConfig.REVISION.trimStart('r').toInt()
|
||||
}
|
||||
}
|
||||
|
@ -72,4 +72,4 @@ data class SourceJson(
|
||||
)
|
||||
}
|
||||
|
||||
private fun Boolean.toShort(): Short = if (this) 1 else 0
|
||||
private fun Boolean.toShort(): Short = if (this) 1 else 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user