refactor: remove GitHub assets source and require HTTP provider

This commit is contained in:
Pandipipas
2026-03-03 20:01:13 +01:00
parent 13db5528a8
commit a93492b86b
4 changed files with 114 additions and 46 deletions
+40
View File
@@ -29,3 +29,43 @@ NodeCG bundle for producing fighting game overlays.
## Version
Initial project version: `0.1.0`.
## Assets por HTTP (sin GitHub API)
La descarga de assets usa **únicamente HTTP**. Debes configurar un servidor propio.
1. En `cfg/scoreko-dev.json`, configura `assetsBaseUrl` (obligatorio):
```json
{
"scoreko-dev": {
"exampleProperty": "value",
"assetsBaseUrl": "http://TU_SERVIDOR:8080"
}
}
```
2. Sirve por HTTP esta estructura:
```text
games/
street-fighter-6/
manifest.json
fighting-characters.json
characters/...
tekken-8/
manifest.json
...
```
3. Cada `manifest.json` debe ser un array con rutas relativas, o con objetos `{ "path", "size", "url" }`.
Ejemplo mínimo:
```json
[
"fighting-characters.json",
"characters/ryu.png"
]
```