Creating universal with compiled AppleScript apps

I have two compiled Apple Scripts (.app) - one for ARM, one for Intel.
Is creating an universal binary the same as regular .apps?

Because I tried this and it doesn’t work. Both Intel and AS device launches the Intel version.(checked in the Activity Monitor).

I use this:

lipo pathtoIntelfile pathtoARMfile -create -output <universalbinary.app>

Maybe I am missing something?

I think you may want to copy the app and then do the lipo command on the internal app file in the macOS directly inside the bundle.

Thanks! That worked.