mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fix: add remote sync capability - fix icon backup import from older versions
This commit is contained in:
parent
4b28bf9f57
commit
05705b1dec
1 changed files with 11 additions and 2 deletions
|
@ -108,12 +108,21 @@ object BackupUtils {
|
|||
@JsonProperty("_Float") val _Float: Map<String, Float>?,
|
||||
@JsonProperty("_Long") val _Long: Map<String, Long>?,
|
||||
@JsonProperty("_StringSet") val _StringSet: Map<String, Set<String>?>?,
|
||||
)
|
||||
) {
|
||||
constructor() : this(
|
||||
mapOf(),
|
||||
mapOf(),
|
||||
mapOf(),
|
||||
mapOf(),
|
||||
mapOf(),
|
||||
mapOf(),
|
||||
)
|
||||
}
|
||||
|
||||
data class BackupFile(
|
||||
@JsonProperty("datastore") val datastore: BackupVars,
|
||||
@JsonProperty("settings") val settings: BackupVars,
|
||||
@JsonProperty("sync-meta") val syncMeta: BackupVars,
|
||||
@JsonProperty("sync-meta") val syncMeta: BackupVars = BackupVars(),
|
||||
) {
|
||||
fun restore(
|
||||
ctx: Context,
|
||||
|
|
Loading…
Reference in a new issue