                      break
                  if "have diverged" in line.lower():
                      msg = "Your branch has diverged from the remote repo. Not updating"
                      break
          self.clear_console()
          if not update:
              logger.info(msg)
          logger.debug("Checked for update. Update required: %s", update)
          return update
  
 
</s> remove             msg = "An error occurred during update. return code: {}".format(retcode)
 </s> add             logger.info("An error occurred during update. return code: %s", retcode)
            retval = False </s> remove             msg = "Please restart Faceswap to complete the update."
        logger.info(msg)
 </s> add             retval = True
        return retval </s> remove     def check_for_updates(self, encoding):
 </s> add     @staticmethod
    def check_for_updates(encoding):
                      break
                  if "have diverged" in line.lower():
                      msg = "Your branch has diverged from the remote repo. Not updating"
                      break

          if not update:
              logger.info(msg)
          logger.debug("Checked for update. Update required: %s", update)
          return update
  
keep keep keep keep replace keep keep keep keep keep
 Update Dependencies Script

- Add script `update_deps.py` to automatically update dependencies
- Call update_deps.py when checking for updates from the GUI
- Update setup.py to respect requirements.txt sys_platform tags
- Update INSTALL.md 
lib/gui/menu.py