download.sh: run in windows git bash

changing wget to curl
removing commands not present in git bash and using appx equivalents that do