kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #35730
Re: XDG_CONFIG_HOME environment variable.
I vote for accepting XDG_CONFIG_HOME on all platforms for consistency.
After all this is an advanced configuration feature and should not be
touched by the normal user.
I don't know why the patch was made so complex initially.
2018-05-07 15:54 GMT+02:00 Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>:
> I do not think it will cause an issue on macOS.
>
> Adam
>
> On Mon, May 7, 2018 at 8:50 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx>
> wrote:
> > I am in the process of fixing a minor bug in the code that fetches the
> > KiCad user configuration path. We currently only check for the
> > XDG_CONFIG_HOME environment variable on non-windows and non-macos
> > platforms. Is there any reason not to just go ahead and check for
> > XDG_CONFIG_HOME on all platforms? I know in the past someone requested
> > that we allow it on windows to create a portable windows version of
> > KiCad. Is there anything on macos where using this could trip us up?
> > If not, it will eliminate an ugly #if/#endif section in this code.
> >
> > Thanks,
> >
> > Wayne
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References