mcsamuel's Recent Forum Activity

  • 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]
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
mcsamuel's avatar

mcsamuel

Member since 18 Jul, 2014

None one is following mcsamuel yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies