This is a quick post to document the process of pushing a game to itch.io using the comand line tool Butler. I am using a Windows machine in this post though the process is the same if you are using a Mac or Linux.
First download Butler
Once you have downloaded Butler create your builds in Unity. I usually save them to a builds folder in the same location that I have saved the butler.exe file to.
To log in
./butler login
To upload your Windows build run the following command. The first argument is the path to the Windows build of your game. The second argument is your username followed by the name of your game, then a colon with the platform, in this case windows:
.\butler push .\builds\murder-death-kill-win codedragons/murder-death-kill:windows
To upload a WebGL build run the following command, ensuring that this time your path points to your WebGL build and the platform is html:
.\butler push .\builds\murder-death-kill-web codedragons/murder-death-kill:html
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.