In your standalone you have the stack "HyperTest.livecode" in the ENGINE folder AND in the RESOURCES folder!
Not sure which one gets opened and saved, but that is the explanation for this behaviour!

Be aware that this will not work for the "average" macOS user without ADMIN permissions, since he/she does not
have write permissions in the "Applications" folder!
Best
Klaus