Skip to content

Commit

Permalink
Fix detection of "apple configurator" path
Browse files Browse the repository at this point in the history
  • Loading branch information
e-marchand committed Sep 16, 2024
1 parent 632e4c3 commit 2948c50
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Project/Sources/Classes/cfgutil.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,21 @@ Function _getExe($bundleName : Text)->$exe : 4D:C1709.File
If ($c.length>0)
$bundle:=Folder:C1567("/Applications/"+$c[0])
If (Position:C15("/Applications/"; $c[0])=1)
$bundle:=Folder:C1567($c[0])
Else
$bundle:=Folder:C1567("/Applications/"+$c[0]) // seems to not be correct
If (Not:C34($bundle.exists))
$bundle:=Folder:C1567($c[0])
End if
End if
End if
End if
End if
Expand Down

0 comments on commit 2948c50

Please sign in to comment.