Planimeter / game-engine-2d

Planimeter Game Engine 2D - LÖVE-based game engine for Lua
https://github.com/Planimeter/game-engine-2d/wiki
MIT License
736 stars 74 forks source link

OSX requires 'chmod +x debug\ game.sh' to run debug game.sh #50

Closed bakpakin closed 9 years ago

bakpakin commented 9 years ago

On OSX, and probably Linux, I had to chmod +x the love executable before I could run the script. While easy to do, It would be nice if the shell scripts did this themselves.

imthatgin commented 9 years ago

We will implement a fix for this issue shortly.

andrewmcwatters commented 9 years ago

I'm at church, can you push this change to grid-sdk and I'll promote it upstream?

Sent from my iPhone

On May 31, 2015, at 8:53 AM, Ryan Kingstone notifications@github.com wrote:

We will implement a fix for this issue shortly.

— Reply to this email directly or view it on GitHub.

imthatgin commented 9 years ago

I don't think the file can chmod itself. Need ideas for solution.

bakpakin commented 9 years ago

My bad, I titled the issue wrong. I need to chmod the love executable in the bin folder, so it should be 'chmod +x bin/x64/macosx-x64/love.app/Contents/MacOS/love'

andrewmcwatters commented 9 years ago

On a clean install of Mac OS X and a clone to anywhere in my user directory, I've never needed to do this. I don't really know what to do about this, because I'm assuming you might be cloning to a directory where permissions prohibit this, but it's outside of the scope of what the shell scripts do.

You guys hit me up if we have a solution to this, otherwise I cantfix(?)