Lazarus

Programming => Operating Systems => macOS / Mac OS X => Topic started by: zeljko on February 06, 2023, 11:05:08 am

Title: Bundle path
Post by: zeljko on February 06, 2023, 11:05:08 am
Hi, is there any LazFileUtils or FileUtil function which returns mac bundle path ? Not binary path only bundle path eg
/Applications/MyApp.app ?
Title: Re: Bundle path
Post by: dsiders on February 06, 2023, 08:40:17 pm
Hi, is there any LazFileUtils or FileUtil function which returns mac bundle path ? Not binary path only bundle path eg
/Applications/MyApp.app ?

LazUtils in 2.3.0 has:

Code: Pascal  [Select][+][-]
  1. function ProgramDirectoryWithBundle: string;

in components/lazutils/fileutil.pas.

Title: Re: Bundle path
Post by: zeljko on February 07, 2023, 10:37:02 am
Thanks :)
TinyPortal © 2005-2018