'Install platform specific tweaks and workarounds.'

def install_platform_tweaks(self, worker):

    if self.app.IS_macOS:
        self.macOS_proxy_detection_workaround()
    if (not self._isatty):
        if self.app.IS_macOS:
            install_HUP_not_supported_handler(worker)
        else:
            install_worker_restart_handler(worker)
    install_worker_term_handler(worker)
    install_worker_term_hard_handler(worker)
    install_worker_int_handler(worker)
    install_cry_handler()
    install_rdb_handler()
