示例#1
0
 def _get_runner_version(self):
     if self.runner in ('wine', 'winesteam'):
         if self.script.get(self.runner):
             return wine.support_legacy_version(
                 self.script[self.runner].get('version'))
     if self.runner == 'libretro':
         return self.script['game']['core']
示例#2
0
 def _get_runner_version(self):
     if self.runner in ('wine', 'winesteam'):
         if self.script.get(self.runner):
             wine_version = self.script[self.runner].get('version')
             logger.debug("Install script uses Wine %s", wine_version)
             return wine.support_legacy_version(wine_version)
     if self.runner == 'libretro':
         return self.script['game']['core']
     return None
示例#3
0
 def _get_runner_version(self):
     if self.script.get('wine'):
         return wine.support_legacy_version(self.script['wine'].get('version'))
     if self.runner == 'libretro':
         return self.script['game']['core']
示例#4
0
 def _get_runner_version(self):
     if self.script.get('wine'):
         return wine.support_legacy_version(self.script['wine'].get('version'))