Butler 5, how to itch.io upload and auto update index.html zip using win10+

--install free itch.app that contains butler.exe from https://itch.io/app

set itchExport=butler5
set itchMyUser=investus
set butler.ver=15.21.0
set butler.exp=C:\UnityProjects\%itchExport%\
if not exist %butler.exp% goto :timeout
cd /d "%butler.exp%.."
set butler.dir=%appdata%\itch\broth\butler\versions
set butler.exe="%butler.dir%\%butler.ver%\butler.exe"
if exist %butler.exe% goto :investus
@dir /b "%butler.dir%" & notepad "%0"
goto :timeout
:investus
%butler.exe% push %itchExport% %itchmyuser%/%itchExport%:html --if-changed 
:timeout
timeout 60

--cmd butler5-html.zip will be exe in browser, but first add there a index.html save, remove&dontsave&push;makeitpublic;Run Game;webgl;play;like.

# auto upload update unity-webgl-html.zip  using butler from itch.io app Win10+


%butler.exe% push WebGL %itchmyuser%/%unitywebgl%:html --if-changed

∙ No previous build to compare against, pushing unconditionally
∙ For channel `html`: pushing first build
∙ Pushing 7.03 MiB (16 files, 3 dirs, 0 symlinks)
√ Added 7.03 MiB fresh data
√ 6.94 MiB patch (1.29% savings)
∙ Build is now processing, should be up in a bit.
Use the `butler status investus/butler5:html` for more information.
--doc; https://itch.io/docs/butler/pushing.html#html--playable-in-browser-game

--Using free Unityasset: Easy FPS https://assetstore.unity.com/packages/3d/characters/humanoids/sci-fi/easy-fps-73776


%butler.exe% push WebGL %itchmyuser%/%unitywebgl%:html --if-changed
∙ Comparing against previous build...
∙ For channel `html`: last build is 593088, downloading its signature
∙ Pushing 6.66 MiB (16 files, 3 dirs, 0 symlinks)
√ Re-used 1.88% of old, added 6.54 MiB fresh data
√ 6.51 MiB patch (2.28% savings)

∙ Build is now processing, should be up in a bit.
Notification: NEW Build html 3 for butler-itchio-upload-unity3d-webgl is now live 30s. Press Space jump to start with keyboard WASD.
       -- Have fun by try-ing and info you. Try. Play. Share. Like. --

StatusPrototype
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorinvestus.itch.io
Made withUnity
Average sessionAbout an hour

Development log

Leave a comment

Log in with itch.io to leave a comment.