示例#1
0
 def get_steam_config(self):
     if not self.steam_path:
         return
     steam_path = os.path.dirname(self.steam_path)
     return read_config(steam_path)
示例#2
0
 def get_steam_config(self):
     if not self.game_path:
         return
     return read_config(self.game_path)
示例#3
0
 def get_steam_config(self):
     """Return the "Steam" part of Steam's config.vfd as a dict"""
     steam_data_dir = self.steam_data_dir
     if not steam_data_dir:
         return
     return read_config(steam_data_dir)
示例#4
0
 def steam_config(self):
     """Return the "Steam" part of Steam's config.vfd as a dict"""
     if not self.get_steam_path():
         return
     steam_path = os.path.dirname(self.get_steam_path())
     return read_config(steam_path)
示例#5
0
文件: steam.py 项目: dacp17/lutris
 def steam_config(self):
     """Return the "Steam" part of Steam's config.vdf as a dict."""
     if not self.steam_data_dir:
         return
     return read_config(self.steam_data_dir)
示例#6
0
文件: steam.py 项目: dennisjj4/lutris
 def get_steam_config(self):
     return read_config(self.get_game_path())
示例#7
0
文件: steam.py 项目: ezeenova/lutris
 def steam_config(self):
     """Return the "Steam" part of Steam's config.vdf as a dict"""
     if not self.steam_data_dir:
         return
     return read_config(self.steam_data_dir)
示例#8
0
 def get_steam_config(self):
     """Return the "Steam" part of Steam's config.vfd as a dict"""
     steam_data_dir = self.steam_data_dir
     if not steam_data_dir:
         return
     return read_config(steam_data_dir)
示例#9
0
 def get_steam_config(self):
     if not self.steam_path:
         return
     steam_path = os.path.dirname(self.steam_path)
     return read_config(steam_path)
示例#10
0
 def steam_config(self):
     """Return the "Steam" part of Steam's config.vfd as a dict"""
     if not self.get_steam_path():
         return
     steam_path = os.path.dirname(self.get_steam_path())
     return read_config(steam_path)
示例#11
0
 def get_steam_config(self):
     if not self.default_path:
         return
     return read_config(self.default_path)