MacOS: Not detecting Mono installed via MacPorts

Hello,

On MacOS Duplicati fails to detect Mono. The script /Applications/Duplicati.app/Contents/MacOS/run-with-mono.sh attempts to look in a few locations and eventually fails.

The problem is it does not look in /opt/local/bin and hence does not find mono installed by Macports.

If I run the application this way:
MONO_BIN=/opt/local/bin/mono /Applications/Duplicati.app/Contents/MacOS/duplicati

then it successfully launches.

Would it be possible to also add checks for /opt/local/bin/mono during detection to accommodate MacPorts distributed Mono?

Thanks

Fixed: Added check to also look for MacPorts version of Mono · duplicati/duplicati@cc97228 · GitHub