Persist butler outside the plugin dir so plugin updates don't wipe it

OGPU wipes user://plugins/<id>/ (and everything inside it) whenever a
plugin is updated or re-extracted, so storing butler and butler.db under
user://plugins/itch/assets meant every version bump deleted the binary
and its login session. Store them in persistent user://butler instead,
and migrate any leftover install from the old location.
This commit is contained in:
Jose Falanga 2026-08-06 17:19:28 -03:00
parent 408991a693
commit e8111f89c2
2 changed files with 30 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{
"plugin.id": "itch",
"plugin.name": "itch.io",
"plugin.version": "0.1.0",
"plugin.version": "0.1.1",
"plugin.min-api-version": "1.1.0",
"plugin.link": "https://github.com/YOUR_USERNAME/OpenGamepadUI-itch",
"plugin.source": "https://github.com/YOUR_USERNAME/OpenGamepadUI-itch",