From 0d98db2eb37bd22156f08c3cd4716c0efbbab45c Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Tue, 16 Feb 2021 23:28:10 -0500 Subject: [PATCH] Lowercase check the kicad data dir name in the macos app check macOS is case insensitive anyway --- common/paths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/paths.cpp b/common/paths.cpp index e467d7c7f3..2bc68caeba 100644 --- a/common/paths.cpp +++ b/common/paths.cpp @@ -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/.app/Contents/SharedSupport