The application closes instantly when I try to run it within the Itch.io player.
I have sandboxing enabled in the Itch.io player. Are you using features that would be stopped by the sandbox?
I was not aware that there is an itch.io player. I think the reason was the custom launcher I made. I reuploaded it with the correct manifest file, it should work now.