forked from MeloNX/MeloNX
fix title updates again
This commit is contained in:
parent
f3531394d5
commit
25b31b559a
@ -68,8 +68,9 @@ class TitleUpdateViewModel(val titleId: String) {
|
||||
var gson = Gson()
|
||||
var json = gson.toJson(this)
|
||||
jsonPath = (MainActivity.AppPath
|
||||
?: "") + "/games/" + titleId.toLowerCase(Locale.current) + "/updates.json"
|
||||
File(jsonPath).writeText(json)
|
||||
?: "") + "/games/" + titleId.toLowerCase(Locale.current)
|
||||
File(jsonPath).mkdirs()
|
||||
File(jsonPath + "/updates.json").writeText(json)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user