修复畅玩游戏备份问题
This commit is contained in:
@ -17,7 +17,7 @@ import java.nio.file.Files
|
||||
object VBackupHelper {
|
||||
|
||||
// 添加数据库版本作为路径,避免数据错乱异常
|
||||
private const val BACKUP_FOLDER = "/gh-files/vspace_backup/" + VGameDatabase.DB_VERSION
|
||||
private const val BACKUP_FOLDER = "/gh-files/vspace_data_backup/" + VGameDatabase.DB_VERSION
|
||||
|
||||
fun recoverValidData(context: Context) {
|
||||
runOnIoThread {
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
package com.gh.vspace.db
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
|
||||
@Keep
|
||||
@Entity
|
||||
data class VArchiveEntity(
|
||||
@PrimaryKey
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
package com.gh.vspace.db
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import androidx.room.Entity
|
||||
import androidx.room.PrimaryKey
|
||||
import com.lightgame.download.DownloadEntity
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Keep
|
||||
@Parcelize
|
||||
@Entity(tableName = "v_game")
|
||||
data class VGameEntity(
|
||||
|
||||
Reference in New Issue
Block a user