CLI: Fix macOS binary dir
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12799
This commit is contained in:
parent
6066ccdfd5
commit
a5096bf28a
|
@ -535,7 +535,7 @@ bool PGM_BASE::setExecutablePath()
|
|||
|
||||
wxFileName fn( m_bin_dir );
|
||||
|
||||
if( fn.GetName() == wxT( "kicad" ) )
|
||||
if( fn.GetName() == wxT( "kicad" ) || fn.GetName() == wxT( "kicad-cli" ) )
|
||||
{
|
||||
// kicad launcher, so just remove the Contents/MacOS part
|
||||
fn.RemoveLastDir();
|
||||
|
|
Loading…
Reference in New Issue