mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 00:29:09 +02:00
ide: update bundle check to match fpc 3.2.0 and earlier. FileExists no longer return true for directories for macOS (unix) systems
git-svn-id: trunk@63598 -
This commit is contained in:
parent
838de9a502
commit
3721c40a5d
@ -7453,7 +7453,8 @@ begin
|
|||||||
Process.CurrentDirectory := RunWorkingDirectory;
|
Process.CurrentDirectory := RunWorkingDirectory;
|
||||||
|
|
||||||
if RunAppBundle
|
if RunAppBundle
|
||||||
and FileExistsUTF8(Process.Executable)
|
and (FileExistsUTF8(Process.Executable)
|
||||||
|
or DirectoryExistsUTF8(Process.Executable))
|
||||||
and FileExistsUTF8('/usr/bin/open') then
|
and FileExistsUTF8('/usr/bin/open') then
|
||||||
begin
|
begin
|
||||||
// run bundle via open
|
// run bundle via open
|
||||||
|
Loading…
Reference in New Issue
Block a user