freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR-devel] user config files, pathing, etc.


From: Richard Kilmer
Subject: Re: [FR-devel] user config files, pathing, etc.
Date: Fri, 3 Jan 2003 17:14:32 -0500

working the dubugger...will have time this weekend.

as for the / vs. File::SEPARATOR...it does not make a difference on Ruby. On Win32 and Linux it is defined as / which is why I use it.

-rich

On Friday, January 3, 2003, at 05:00 PM, Laurent Julliard wrote:

Richard Kilmer wrote:

I went ahead an made this change.

Let me know how it works on Linux...it should work fine.

I also added the method: base_user_path (in addition to the base_path) method on a @plugin.plugin_configuration. This allows one to get the directory that a plugin was loaded from (base_path) and a place to write stuff to (base_user_path). If base_user_path is nil, a plugin writer can still use base_path (as now), but potential for the same permission errors as before.

Now, since all plugin property files, etc are written to USERPROFILE/freeride or ~/.freeride it is a simple deletion of that directory to reset the state of your FreeRIDE system to the defaults.

Best,

-rich

Works fine on Linux. I have made some modification to your code to make it more portable across platforms. See last cvs commit.

Laurent

PS: where are you with the debugger?





_______________________________________________
Freeride-devel mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/freeride-devel






reply via email to

[Prev in Thread] Current Thread [Next in Thread]