Lowercase check the kicad data dir name in the macos app check

macOS is case insensitive anyway
This commit is contained in:
Marek Roszko 2021-02-16 23:28:10 -05:00
parent b609c7dcd6
commit 0d98db2eb3
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ wxString PATHS::GetOSXKicadDataDir()
// This must be mapped to main bundle for everything but kicad.app
const wxArrayString dirs = ddir.GetDirs();
if( dirs[dirs.GetCount() - 3] != wxT( "kicad.app" ) )
if( dirs[dirs.GetCount() - 3].Lower() != wxT( "kicad.app" ) )
{
// Bundle structure resp. current path is
// kicad.app/Contents/Applications/<standalone>.app/Contents/SharedSupport