MacOS-dependent part of Luwrain