We have an AIR application which leverages a C++ executable via NativeProcess. We've made a version of this for Windows and for OSX and packaged the application appropriately for each.The executables are included in an assets folder within the project.
When installing the application through the native installer:
Windows XP/Vista/7 - everything is fine
Mac OSX 10.6 (Snow Leopard) - everything is fine
Mac OSX 10.5 (Leopard) - NOT fine, the executables do not have execute permissions
After manually setting execute permissions (chmod +x mynativeexe) everything works as expected
Is there anything we need to be aware of that we're not doing?
As a workaround could our AIR application run a shell command to set these necesscary permissions?