[Top][All Lists]
[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
- [FR-devel] user config files, pathing, etc., Richard Kilmer, 2003/01/02
- Re: [FR-devel] user config files, pathing, etc., Laurent Julliard, 2003/01/02
- Re: [FR-devel] user config files, pathing, etc., Richard Kilmer, 2003/01/02
- Re: [FR-devel] user config files, pathing, etc., Laurent Julliard, 2003/01/03
- Re: [FR-devel] user config files, pathing, etc.,
Richard Kilmer <=
- RE: [FR-devel] user config files, pathing, etc., Curt Hibbs, 2003/01/04
- Re: [FR-devel] user config files, pathing, etc., Laurent Julliard, 2003/01/04