Re: [AD] load allegro5.cfg from exe dir |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2011-01-07, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> On Fri, Jan 7, 2011 at 8:18 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> > Can someone check this works on OS X?
> >
> How is this particular file meant to be used? Basing it on the EXENAME
> when inside an app bundle would make it harder for a user to edit, but
> easier for the programmer to set things.
It's mainly for the advanced user to configure Allegro independently of
any application. The user may prefer a certain driver or require a
certain workaround, across all Allegro programs.
The latter use, where an application ships with a (partial) config file
containing preferred values (editable by the user), would be a secondary
use, I think.
BTW, should we use ~/.config/allegro/allegro5.cfg now?
> This might be a valid reason to have PROGRAM_PATH... if it pointed to
> the folder that contained the app bundle (*not* the foo.app folder
> itself) or the executable, whichever is applicable.
Peter