Hello,
Is there a way to use Itch installer (itch-setup.exe) to auto-detect the Itch.io member username (login) ?
Is there an API ?
(I would like to use this to init ingame player name, to be used in leader boards)
Thanks
You can request the scope profile:me
in your app manifest described on this page: https://itch.io/docs/itch/integrating/manifest-actions.html (see API key & scoping)
In your game you can make an http request to https://itch.io/api/1/jwt/me
with the provided API key.
There’s a little tutorial on the link I gave above. Hope that helps