Update readme.md
This commit is contained in:
@@ -14,7 +14,7 @@ the size of the boxes and have consistency
|
|||||||
3. Fetches additional steam libraries
|
3. Fetches additional steam libraries
|
||||||
4. Checks mounted status (to exclude things not present)
|
4. Checks mounted status (to exclude things not present)
|
||||||
5. Reads game vdf from steam library locations for paths
|
5. Reads game vdf from steam library locations for paths
|
||||||
6. Prints compatdata ID with steam path and game name
|
6. Prints AppID with steam path and game name in addition to compatdata folder
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|||||||
@@ -20,9 +20,6 @@ class SteamGamePathTool:
|
|||||||
self.steam_vdf = vd.parse_vdf(self.steam_vdf_path)
|
self.steam_vdf = vd.parse_vdf(self.steam_vdf_path)
|
||||||
self.steam_library_locations = vd.find_extra_locations(self.steam_vdf)
|
self.steam_library_locations = vd.find_extra_locations(self.steam_vdf)
|
||||||
|
|
||||||
for library in self.steam_library_locations:
|
|
||||||
print(f"[+] Found Steam library at: {library}")
|
|
||||||
|
|
||||||
games = vd.fetchall_vdfs(self.steam_vdf)
|
games = vd.fetchall_vdfs(self.steam_vdf)
|
||||||
games = self.sort_games(games)
|
games = self.sort_games(games)
|
||||||
|
|
||||||
@@ -30,6 +27,9 @@ class SteamGamePathTool:
|
|||||||
game_rend = [Panel(self.get_game_content(game), expand=True) for game in games]
|
game_rend = [Panel(self.get_game_content(game), expand=True) for game in games]
|
||||||
console.print(Columns(game_rend))
|
console.print(Columns(game_rend))
|
||||||
|
|
||||||
|
for library in self.steam_library_locations:
|
||||||
|
print(f"[+] Found Steam library at: {library}")
|
||||||
|
|
||||||
self.prompter = PromptHelper(games)
|
self.prompter = PromptHelper(games)
|
||||||
while True:
|
while True:
|
||||||
self.prompt_user()
|
self.prompt_user()
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ import sys
|
|||||||
|
|
||||||
def generate_completer(game_list):
|
def generate_completer(game_list):
|
||||||
g_list = [x['name'] for x in game_list] + [x['appid'] for x in game_list]
|
g_list = [x['name'] for x in game_list] + [x['appid'] for x in game_list]
|
||||||
|
g_list.append("q")
|
||||||
|
g_list.append("quit")
|
||||||
return FuzzyCompleter(WordCompleter(g_list))
|
return FuzzyCompleter(WordCompleter(g_list))
|
||||||
|
|
||||||
class PromptHelper:
|
class PromptHelper:
|
||||||
|
|||||||
Reference in New Issue
Block a user