Randomize MAC Address Using Platypus
Platypus

Use Platypus to create an application from your bash script. This approach avoids needing to use AppleScript.


  Platypus is a developer tool that creates native Mac applications from command line scripts such as shell scripts or Perl, Ruby and Python programs. This is done by wrapping the script in a macOS application bundle along with an executable binary that runs the script.




Other Approaches

Mathias Bynens has an article on How to create simple Mac apps from shell scripts.

Also worth reading is the related question How to make a Mac OS X .app with a shell script?