On mac a file is needed to select the arduino IDE instead of a folder in the preference page.
I made the changes but I can't test them.