All you have to do is drop the 'run_in_love' file in the folder with your main.love and double click it.
You can just copy and paste the file into any Love Project and it will just work.
Here's what the script contains:
Code: Select all
#!/bin/sh
/Applications/love.app/Contents/MacOS/love "${0%/*}"
Note: If double clicking does not work, you will need to make the 'run_in_love' file executable. You can do this by:
- 1. Opening a new terminal window
2. Typing in 'chmod +x ' (including the last space)
3. Dragging the file into the terminal, which will add its file path, finally pressing enter