If anyone is having a permission problem on Mac. I created a terminal shell script that fixes the permissions on the correct files. Place the unzipped script in the exported folder ( the one with the osx32 and osx64 folder ) and run it. The permissions should be fixed. Zip file: https://www.dropbox.com/s/ja5vhl6016uex ... c.zip?dl=0
If you rather create the shell script yourself just paste the below code into any text editor and change the permissions using
chmod u+x yourfilenamehere. Then place your file in the exported folder and run.
echo "Fix permission problems for osx32:"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
cd osx32
for d in */ ; do
cd "$d"
for dr in */ ; do
cd "$dr"
chmod -u+xrw PkgInfo
cd "Frameworks"
chmod -u+xrw crash_inspector
cd "nwjs Helper.app"
cd "Contents"
chmod -u+xrw PkgInfo
cd MacOS
chmod -u+xrw "nwjs Helper"
cd ..
cd ..
cd ..
cd "nwjs Helper EH.app"
cd "Contents"
chmod -u+xrw PkgInfo
cd MacOS
chmod -u+xrw "nwjs Helper EH"
cd ..
cd ..
cd ..
cd "nwjs Helper NP.app"
cd "Contents"
chmod -u+xrw PkgInfo
cd MacOS
chmod -u+xrw "nwjs Helper NP"
cd ..
cd ..
cd ..
cd ..
cd "MacOS"
chmod -u+xrw "nwjs"
done
done
cd ..
cd ..
cd ..
cd ..
echo "Fix permission problems for osx64:"
cd osx64
for d in */ ; do
cd "$d"
for dr in */ ; do
cd "$dr"
chmod -u+xrw PkgInfo
cd "Frameworks"
chmod -u+xrw crash_inspector
cd "nwjs Helper.app"
cd "Contents"
chmod -u+xrw PkgInfo
cd MacOS
chmod -u+xrw "nwjs Helper"
cd ..
cd ..
cd ..
cd "nwjs Helper EH.app"
cd "Contents"
chmod -u+xrw PkgInfo
cd MacOS
chmod -u+xrw "nwjs Helper EH"
cd ..
cd ..
cd ..
cd "nwjs Helper NP.app"
cd "Contents"
chmod -u+xrw PkgInfo
cd MacOS
chmod -u+xrw "nwjs Helper NP"
cd ..
cd ..
cd ..
cd ..
cd "MacOS"
chmod -u+xrw "nwjs"
done
done
echo "Done ..."
[/code:3vjskwdc]