[GNC] Upgrade Path from version 2.6.16 on MacOS High Sierra (10.13.6) and beyond

Adrien Monteleone adrien.monteleone at lusfiber.net
Tue Jan 29 11:25:29 EST 2019


Very well, my memory is faulty, I defer to you. I don’t recall how I managed this.

Regards,
Adrien

> On Jan 29, 2019, at 10:19 AM, John Ralls <jralls at ceridwen.us> wrote:
> 
> 
> 
>> On Jan 29, 2019, at 8:03 AM, Geert Janssens <geert.gnucash at 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



More information about the gnucash-user mailing list