> On Jan 29, 2019, at 8:03 AM, Geert Janssens <geert.gnuc...@kobaltwit.be> 
> wrote:
> 
> Op dinsdag 29 januari 2019 15:28:01 CET schreef Adrien Monteleone:
>>> I'm curious: what are the names of the two directories that were created ?
>>> Or in other words, how are those names decided on MacOS ?
>>> 
>>> As far as I know on linux and Windows the names are hardcoded to use the
>>> compile time application name unless overridden by setting GNC_DATA_DIR
>>> and
>>> GNC_CONFIG_DIR environment variables. The latter (GNC_CONFIG_DIR) is only
>>> introduces in GnuCash 3.4.
>>> 
>>> Geert
>> 
>> The names matched the app name. (not including the .app extension of course)
> 
> App name as in "GnuCash" and "GnuCash-2" as in your earlier example ? That's 
> interesting but puzzling as I don't see anything in the code that would make 
> that happen. The default directory is hardcoded to GnuCash as of gnucash 3.x.
> 
> Perhaps John does some magic to change this in the MacOS integration repo.

Nope, and as far as MacOS is concerned the "App Name" which appears at the left 
side of the menu bar and in Activity Monitor is "Gnucash", the name of the 
executable in Gnucash.app/Contents/MacOS that's named in 
Gnucash.app/Contents/Info.plist. The filename of the bundle (i.e. Gnucash.app 
or whatever the user might rename it to) doesn't matter to anything except the 
file system.

Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to