Hi, I am using Windows 10 and Live Code 7.1.3 and creating the set up for the mac.
Set up does not work on the MAC. To make it work, I have to do
chmod +x SomeApp.app/contents/macos/
Is there a way so that It can be avoided as we can not ask user to launch this command to make the app work.
Thanks
pkm
How to Avoid Chmod for distributing set up for the MAC
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to Avoid Chmod for distributing set up for the MAC
It may be possible to Zip the standalone before transferring it to a Mac to preserver the exec bit, but it may also be that my memory is simply faulty there. The Windows file system has no exec bit, so routines that copy from it to a Unix-oriented file system like HFS+ often (if not always) fail to transfer that metadata.
Try Zipping, and if that doesn't work you may want to write a shell script on your Mac to automate that for smoother builds.
Try Zipping, and if that doesn't work you may want to write a shell script on your Mac to automate that for smoother builds.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: How to Avoid Chmod for distributing set up for the MAC
I am using WIN RAR to create the rar file and transferring it to Mac but I have to use chmod +x to make it work... Any suggestion to fix this?
-
- VIP Livecode Opensource Backer
- Posts: 9823
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to Avoid Chmod for distributing set up for the MAC
It may be that RAR doesn't support non-Win-native file system metadata. Try Zip, and if that doesn't work you may need to write a script on Mac to automate it.
When Microsoft ditches their kernel for BSD, Linux, or Unix all this will go away. But until then differences between file systems will remain an issue requiring us to be crafty.
When Microsoft ditches their kernel for BSD, Linux, or Unix all this will go away. But until then differences between file systems will remain an issue requiring us to be crafty.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn