The download links in the script will always point to the latest release of DevilutionX based on your systems architecture (which is automatically detected). It will then create a directory, download the respective release and extract it.
This project was created to get DevilutionX set-up on as many devices as fast as possible. (for LANs 4 example).