Merge pull request #10430 from OatmealDome/mac-portable UICommon: Add support for portable.txt on macOS