kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00655
Re: Patches.
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"emmedics4" <m.serantoni@...>
-
Date:
Mon, 29 Oct 2007 07:28:11 -0000
-
In-reply-to:
<9F211099-F4F7-41F0-9415-C69818E91DC6@...>
-
User-agent:
eGroups-EW/0.82
>> The patch should be allow to search the /kicad/ directory not on
the /var etc
> This patch doesn't seem to work. You're trying to resolve paths
> relative to wxGetCwd() for application resources.
[..]
> Thus, your tests will always fail.
> Note that I solved the path resolving under Mac in a different way
> in WinEDA_App::SetBinDir().
Great.
>
> The code handling paths is a bit hard to get an overview over, but
> AFAIU, the folder containing KiCad must be called "kicad".
I've said was "dirty" but not this dirty, the folder that contains
Kicad was free to change, the directory with the libraries the help
and the rest have to be named kicad.
/Applications/myfolder/eeschema.app
/Applications/myfolder/kicad/library
Indeed your soluction is far more clean than mine.
References