diff --git a/ide/main.pp b/ide/main.pp index 6468826946..2c8c47e086 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -7453,7 +7453,8 @@ begin Process.CurrentDirectory := RunWorkingDirectory; if RunAppBundle - and FileExistsUTF8(Process.Executable) + and (FileExistsUTF8(Process.Executable) + or DirectoryExistsUTF8(Process.Executable)) and FileExistsUTF8('/usr/bin/open') then begin // run bundle via open