Closed merspieler closed 9 months ago
You will need to install rust and build the library inside of the rust
directory. After that, you will need to set the appropriate path for the gdnative library.
If you don't want to deal with that, you can just remove that folder along with the mouse ripple.
You will then need to export for your platform. This should follow the usual Godot export format.
This is not all though. You will need to get a Twitch auth token. Specifically, the one from the OAuth authorization code flow.
The usual flow for this usually requires a web app or a local server to handle the callback but I have a work around.
https://id.twitch.tv/oauth2/authorize?client_id={{client_id}}&redirect_uri=http://localhost&response_type=code&scope=bits:read channel:manage:polls channel:manage:predictions channel:manage:redemptions channel:read:polls channel:read:predictions channel:read:redemptions channel:read:subscriptions chat:edit chat:read
. You will need to replace the {{client_id}}
with your client id from the Twitch dev console.code
query parameter value and save that somewherepotato-config.json
file. The token should auto refresh itself whenever the application starts.potato-config.json
fields.For now, this is an extremely manual process, but I'm looking into automating these steps somehow. Then I can start providing linux builds
Thanks... I hoped, I could package it up for my distro... so probably not that good of an idea with all those manual steps.
Could you please provide either a linux build or instructions on how I can build it my self on linux.
Thanks