Running Unsupported Applications Natively How do I run a bash file such that the application that open appears to be native?

For example I am running an old version of iMovie HD in Yosemite.

I would like to open the application as if it was native with an appropriate icon.
First step is to create an AppleScript application containing an empty file.

Next edit the applet.icns and the file to the appropriate name.

Add an app.sh file to MacOs.

#!/usr/bin/env bash

exec "/Applications/iMovie HD.app/Contents/MacOS/iMovie HD"


Edit Info.plist to contain the following.

&lt;key&gt;CFBundleExecutable&lt;/key&gt;
&lt;string&gt;app.sh&lt;/string&gt;