Replacing default applescript application icon with a custom icns file

Applescripts that are saved as applications appear with this default icon:

apple script default icon

In a recent post I described how to create a script to open two Finders side by side. This post describes how to add a custom icon to that script.

Replacing the custom applescript icon

contents

drag

When you navigate out of the package contents, back to your app file, the icon has changed:

changed