If you change any file in a signed package, no matter what platform or OS the application is for, it will breaks the digital signature. That's pretty much the whole point of signing it, you place trust in who the publisher is and know that it hasn't been tampered with since being released.
In order to get it to work, you would have to resign the application which would require at the very least a signing certificate valid for signing OSX apps. Not 100% sure what the process is, but getting a certificate wouldn't be free. It may be possible to self sign applications, I'm not sure about the specifics.