Description
On OSX you cant call uninstaller --checkupdates because it doesn't find the MagicCookie.
In PackageManagerCorePrivate::writeUninstallerBinary there is a special treatment on OSX. If the code from the #else block and the special OSX code is executed the uninstaller works when it's called from console and if the uninstaller bundle is opened.