I'm using twine 2.
I want to upload my file to itch.io. To do that I need to:
- Publish my story and give it the name "index.html"
- Take my assets and copy it into the correct folder so that "index.html" can access it
- Zip everything up
- Upload it to itch.io
I plan to publish my story many, many times before it's finished and I am hoping there's a way to automate these steps, at least the first 1. I was hoping I could put a bash script on my computer that would do steps 1-3 for me. The only problem is I don't know how to do step 1 without opening up the Twine UI and clicking around. Is there a way to run twine where it publishes my story and quits? A command line like this:
twine.exe --publish --story_name=AcademyOfFetishes > index.html
I know how to automate steps 2-3 on my own and I accept that step 4 should be itch.io's responsibility.
Thanks!