def METHOD_NAME(self, new_binary_file):
    if os_util.get_os() is not commons_enums.PlatformsName.WINDOWS:
        self.logger.info(f"Adding execution rights to updated OctoBot binary")
        st = os.stat(new_binary_file)
        os.chmod(new_binary_file, st.st_mode | stat.S_IEXEC)