示例#1
0
 def get_profile_dir(cls):
     if cls.profile_dir_path:
         return cls.profile_dir_path
     elif windows:
         return os.path.join(get_documents_dir(),
                             "Gamer Profile (Ku Game System)")
     else:
         return os.path.join(get_home_dir(),
                             "Gamer Profile (Ku Game System)")
示例#2
0
 def get_profile_dir(cls):
     if cls.profile_dir_path:
         return cls.profile_dir_path
     elif windows:
         return os.path.join(
             get_documents_dir(), "Gamer Profile (Ku Game System)")
     else:
         return os.path.join(
             get_home_dir(), "Gamer Profile (Ku Game System)")
示例#3
0
 def get_games_path(cls):
     path = []
     if cls.games_dir_path:
         path.extend(cls.games_dir_path)
     elif windows:
         path.append(
             os.path.join(get_documents_dir(), "Games (Ku Game System)"))
     else:
         path.append(os.path.join(get_home_dir(), "Games"))
     return path
示例#4
0
 def get_games_path(cls):
     path = []
     if cls.games_dir_path:
         path.extend(cls.games_dir_path)
     elif windows:
         path.append(os.path.join(
             get_documents_dir(), "Games (Ku Game System)"))
     else:
         path.append(os.path.join(get_home_dir(), "Games"))
     return path