Automatically copy .desktop file to .local/share/applications

Try adding a desktop entry under the apps entry, so that you have something that looks like:

apps:
    my-app:
        command: usr/bin/my-app
        desktop: usr/share/applications/my-app.desktop

If you are using appstream, there are a couple of other features coming that simplify this story Adopt info from other metadata sources