mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-07-22 12:52:29 +00:00
After the slopsmith→feedBack rename (#537) the minigames SDK publishes window.feedBackMinigames and only drains window.__feedBackMinigamesPending. Minigame plugins that still use the pre-rename shim register against window.slopsmithMinigames and queue to window.__slopsmithMinigamesPending when the SDK isn't up yet, so their specs are stranded in the legacy queue and never register. In v3, FeedBarcade renders those games as non-launchable "Loading…" tiles that do nothing on click (the tile itself comes from the server registry, so it appears even though the JS spec never registered). Publish window.slopsmithMinigames as an alias and drain the legacy pending queue too (register() is keyed on spec.id, so double-queued specs register once). Also fire the legacy slopsmith-minigames-ready event. Bump the plugin version so the desktop renderer cache-busts the updated screen.js. This rescues every not-yet-migrated minigame plugin, including community ones we don't control. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
365 B
JSON
22 lines
365 B
JSON
{
|
|
"id": "minigames",
|
|
"name": "Minigames",
|
|
"version": "0.1.1",
|
|
"bundled": true,
|
|
"private": false,
|
|
"screen": "screen.html",
|
|
"script": "screen.js",
|
|
"settings": {
|
|
"html": "settings.html",
|
|
"server_files": [
|
|
"minigames/"
|
|
]
|
|
},
|
|
"diagnostics": {
|
|
"server_files": [
|
|
"minigames/profile.json"
|
|
]
|
|
},
|
|
"routes": "routes.py"
|
|
}
|