The solution described in the link works when using Unity.
https://ddmeow.net/en/game-dev/save-persistent-itch-io/
Maybe you could adapt it to work in your own project. Good luck!
The solution described in the link works when using Unity.
https://ddmeow.net/en/game-dev/save-persistent-itch-io/
Maybe you could adapt it to work in your own project. Good luck!