Please help me with using love.filesystem?

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.
alex_
Prole
Posts: 19
Joined: Sat Jan 16, 2010 11:39 pm

Re: Please help me with using love.filesystem?

Post by alex_ »

Sweet it has been working the whole time!

I just totally misunderstood the documentation. I was expecting the file to be within the love folder that main.lua was in, not a different love folder.

thanks all.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Please help me with using love.filesystem?

Post by Jasoco »

So does 0.6.0+ now store files in the Library instead of a hidden folder under our Home folder? Thank GOD! Opening that hidden folder all the time was a pain in the ass. I hate when apps put stuff in the Home folder under a hidden folder.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Please help me with using love.filesystem?

Post by Robin »

Jasoco wrote:So does 0.6.0+ now store files in the Library instead of a hidden folder under our Home folder? Thank GOD! Opening that hidden folder all the time was a pain in the ass. I hate when apps put stuff in the Home folder under a hidden folder.
It's the Unix way. ;)

But of course, OS X != Unix, although IIRC it was built on top of it. The native way is preferable above the Unix way.
Help us help you: attach a .love.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Please help me with using love.filesystem?

Post by Jasoco »

Robin wrote:
Jasoco wrote:So does 0.6.0+ now store files in the Library instead of a hidden folder under our Home folder? Thank GOD! Opening that hidden folder all the time was a pain in the ass. I hate when apps put stuff in the Home folder under a hidden folder.
It's the Unix way. ;)

But of course, OS X != Unix, although IIRC it was built on top of it. The native way is preferable above the Unix way.
It may be the Unix way, but it doesn't mean OS X apps derived from Unix roots need to keep doing that crap. It's a simple line in the code. Change it from userhome/ to userhome/Library/Application Support/App Name/
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Please help me with using love.filesystem?

Post by bmelts »

Jasoco wrote:It's a simple line in the code. Change it from userhome/ to userhome/Library/Application Support/App Name/
That's exactly what I did. :P
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Please help me with using love.filesystem?

Post by Robin »

Jasoco wrote:It may be the Unix way, but it doesn't mean OS X apps derived from Unix roots need to keep doing that crap.
*cough*
Robin wrote:The native way is preferable above the Unix way.
Help us help you: attach a .love.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Please help me with using love.filesystem?

Post by Jasoco »

I was talking to the other developers out there porting Unix apps to OS X and leaving it the other way. Not you guys.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Please help me with using love.filesystem?

Post by Robin »

Jasoco wrote:I was talking to the other developers out there porting Unix apps to OS X and leaving it the other way. Not you guys.
Oh, ok. :oops:
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests