Recover patch from .app in OSX?

orange_glass's icon

Hi I have accidently lost a bit of work. I saved a butchered version of a patch over the good original somehow. When the patch was in it's good state I did export an app from it. Is there any way I can recover my work? I noticed in browsing the package contents there are some files that contain what look like the maxpat style json. Any way of recovering them?

Also in doing this I noticed the created app is 410mb! Is there any way to optimize this?

orange_glass's icon

I'm going to answer my own question here, it seems the .mxf file in resources opens in max. There was one a level up in contents that seems to be an older version. I think the compiler is adding to the app rather than creating a fresh package. I think next time I'll delete the app and create a fresh app to see if it's smaller.