To add a script (e.g. a shell script) into your taskbar create a shortcut of your script. Then edit the target from e.g.:
cmd /C D:\tools\updateapp.bat
Maybe you would like to also change the icon?
Now right click it and select “Pin to taskbar”.