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: Laurent Julliard
Subject: Re: [FR-devel] user config files, pathing, etc.
Date: Fri, 03 Jan 2003 23:00:35 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.1) Gecko/20020826

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?







reply via email to

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