Commit Graph

1 Commits

Author SHA1 Message Date
Mike Dalton
9967e2aee1 add runeshare (#7156)
* Add RuneShare plugin

* Try to address Gson issue in build

```
Do not create fresh Gson instances, always @Inject the client's Gson.
You can customize it by calling .newBuilder() on it
```

* Inject Gson instead of initializing it

Trying to address this build error
```
Do not create fresh Gson instances, always @Inject the client's Gson.
You can customize it by calling .newBuilder() on it
```

* Update commit to address PR feedback

* Add defaults for configs
* Use `okHttpClient` and `enqueue` the request so it doesn't block the client thread and swing thread

* Update commit to "Default auto sync to false (i.e. manual sync)"

* Use Swing thread instead of Client thread

See https://github.com/runelite/plugin-hub/pull/7156#issuecomment-2560787846
2024-12-28 02:45:30 -05:00