Lowercase check the kicad data dir name in the macos app check
macOS is case insensitive anyway
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user