0

Hello everybody,

I hope this is the right forum to post my question. It's a bit "in-between".

I am about to write an updater for a programme of mine. The updater downloads an update-file from my server that has packed all files I want to replace and executes a simple script.
Now all works file apart from the executable (programme.app/Contents/MacOS/programme), that MacOS doesn't accept as a binary file: it says its plain text.
What can I do in this case? How can I set the type of that file so that it becomes a normal executable? (How) Can I use the programme /Developer/Tools/SetFileType?

Many thanks in advance
Simon

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by sDJh
0

Thanks indeed. I guess that couldt had been the problem. In the net I've seen a solution that uses SetFile, but it seems to be enough to simpy set the permission to +x.

Thank you, you helped me a lot!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.