mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
fix title updates again
This commit is contained in:
parent
f3531394d5
commit
25b31b559a
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue