Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this.
-
BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
-
Contact:
Post
by BlackBulletIV »
When I run
from a sub-folder of my game it gives the "No code to run" error. The parent folder is quite obviously valid because
works fine.
Why doesn't LOVE support the use of '..', but does support '.'?
Note that these also give the same result:
Code: Select all
love ../
love ../.. # sub-sub-folder :P
-
Iskai
- Prole
- Posts: 4
- Joined: Mon Apr 04, 2011 9:18 pm
Post
by Iskai »
Which operating system?
-
bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
-
Contact:
Post
by bartbes »
I think it has something to do with .. breaking out of the save dir...
-
sharpobject
- Prole
- Posts: 44
- Joined: Fri Mar 18, 2011 2:32 pm
- Location: California
Post
by sharpobject »
Iskai wrote:Which operating system?
This happens for me on OS X 10.6.6
-
BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
-
Contact:
Post
by BlackBulletIV »
bartbes wrote:I think it has something to do with .. breaking out of the save dir...
Ah, so LOVE doesn't check whether the '..' is breaking out, it just sees '..' and thinks it's dangerous.
sharpobject wrote:Iskai wrote:Which operating system?
This happens for me on OS X 10.6.6
Yep, that's my OS.
-
Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
-
Contact:
Post
by Robin »
Isn't this related to the problem with "love ."?
love .. doesn't work on Linux either. I think it's cross-platform.
-
BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
-
Contact:
Post
by BlackBulletIV »
Robin wrote:Isn't this related to the problem with "love ."?
What problem with 'love .'?
-
Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
-
Contact:
Post
by Robin »
I think
this is the one. It's been long fixed, though.
-
BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
-
Contact:
Post
by BlackBulletIV »
Ah ok.
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 8 guests