← Back to team overview

kicad-developers team mailing list archive

Re: KiCad patch: Use XDG_CONFIG_HOME on Windows


On 10/26/2016 12:16 PM, Chris Pavlina wrote:
> As discussed on IRC, this breaks the config path on Windows without the
> envrionment variable set, so nobody should merge this.

I wasn't planning on committing this since I'm not sure of the intent.

> I'd really like to hear from somebody with real Windows development
> experience on the correct way to go about what you're doing. It might
> not be clear to people here - IIRC the point is to allow building KiCad
> as a portable application, and not store its configuration data in
> wxStandardPaths::Get().GetUserConfigDir() in that case. What's the
> correct way?

I'm not opposed to using an environment variable to override the user
configuration path but I'm not sure this is how other portable apps
handle user configuration.

> On Wed, Oct 26, 2016 at 04:06:45PM +0200, Mike Wodarczyk wrote:
>> Hi,
>> this is my patch to use XDG_CONFIG_HOME environment variable on Windows.
>> regards
>> Mike (mwayne)
> _______________________________________________
> 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

Follow ups