mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-27 22:14:16 +01:00
Update version "name" and "code" when installing external extension (#698)
In case a newer version of the extension is installed and the extension gets manually downgraded, the version in db is still the one of the newer version. This will prevent detection of available updates, since it won't get recognized, that an older version is currently installed.
This commit is contained in:
@@ -181,6 +181,8 @@ object Extension {
|
||||
it[this.apkName] = apkName
|
||||
it[this.isInstalled] = true
|
||||
it[this.classFQName] = className
|
||||
it[versionName] = packageInfo.versionName
|
||||
it[versionCode] = packageInfo.versionCode
|
||||
}
|
||||
|
||||
val extensionId =
|
||||
|
||||
Reference in New Issue
Block a user