My AppleScript applet has a custom icon file in the bundle (applet.icns). That file is the source of the application icon shown in windows and dialogs.
When I code sign the applet using Script Editor the custom icon file is replaced by a vanilla AppleScript applet icon file. I can't fix that after code signing (obvious: changes after code signing are sensed and macOS will not run it).
Is there a standard way of preventing the code signing process in Script Editor from removing custom icons ?
Thanks.
Garry