Since you're using online version of {{ this.appName }}, you will need to do additional steps after downloading the file to execute your script on macOS:
cd ~/Downloads
chmod +x {{ this.fileName }}
./{{ this.fileName }}
Or download the offline version to run your scripts directly to skip these steps.