At Fri, 26 Jan 2018 20:44:44 -0600, Philip McGrath wrote:
> The package includes a module that programmatically generates the icons for
> the GUI launcher at the expected paths ("my-application.png" and so forth).
> I would like to have raco setup run this code before it builds the
> launcher, but I haven't figured out how to get the code to run at the right
> point.
>
> [...]
>
> Is there a recommended way to do this? I guess I could have the install
> function use install-gracket-program-launcher manually, instead of using
> gracket-launcher-names and gracket-launcher-libraries, but that seems less
> ideal.
I don't have a better recommendation than that one.
One drawback of using `install-gracket-program-launcher` directly is
that `raco setup` doesn't record which "info.rkt" generated the
launcher, so that it can be removed if the package containing the
"info.rkt" is unnstalled. Otherwise, I can't think of a problem with
this technique, other than the extra work it requires.