diff --git a/core/install_location.gd b/core/install_location.gd new file mode 100644 index 0000000..4049927 --- /dev/null +++ b/core/install_location.gd @@ -0,0 +1,8 @@ +## Stub mirroring OpenGamepadUI's nested Library.InstallLocation class. +## Required only so the plugin's GDScript type annotation `InstallLocation` +## compiles against a global class and resolves at runtime from the plugin +## pack (OGPU has no top-level InstallLocation global class). +class_name InstallLocation + +var id: String = "" +var path: String = "" diff --git a/plugin.json b/plugin.json index 779725c..60b5275 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "plugin.id": "itch", "plugin.name": "itch.io", "plugin.version": "0.1.0", - "plugin.min-api-version": "2.0.0", + "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", "plugin.description": "itch.io library for OpenGamepadUI. Browse, install, update, and launch your itch.io games using butlerd, itch's official JSON-RPC launcher daemon.",