diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-09-09 10:44:56 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-09-09 13:55:23 +0300 |
commit | 6492c8576e0393f7ee548cd938e84c80e8d37127 (patch) | |
tree | 2a633846a61c060481341389e104896b8a17598d /sal | |
parent | 43efd9b40d40b791a2c2deedcac36b99f7efb2cf (diff) |
Make the "Mac-like" or "canonical" app bundle structure always used on OS X
In other words, only executable files go in the MacOS folder. Dynamic
libraries and bundled frameworks (i.e., LibreOfficePython), and
nothing else, go in the Frameworks folder, and all other files go in
the Resources folder.
Especially, note that Java class files and rc (.ini) files also go in
Resources.
Such an app bundle structure is what Apple strongly suggests one
should use, and it has been hinted that future versions of code
signing and/or Gatekeeper will require such a structure.
There is still some ugliness thanks to traces of the historical
separation of URE from "the office". Like there are two separate
"unorc" files, one for URE, one for the LibreOffice application. IMHO,
this should be cleaned up, but is probably controversial.
(Eek! I now see there are actually *three* unorc files in the app
bundle. Not intentional. Need to fix that later.)
Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index 2e9933280dfe..5719ae4301ec 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -275,7 +275,7 @@ static OUString & getIniFileName_Impl() // append config file suffix fileName += OUString(SAL_CONFIGFILE("")); -#if HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE +#ifdef MACOSX // We keep only executables in the MacOS folder, and all // rc files in LIBO_ETC_FOLDER (typically "Resources"). sal_Int32 p = fileName.lastIndexOf( "/MacOS/" ); |