Update readme.md
This commit is contained in:
@@ -7,14 +7,14 @@ Prints a table showcasing where the compatfolder, install folder and size of gam
|
||||
Minor note some terminals can't open the hyperlinks properly (konsole)
|
||||
|
||||
Each box has a hyperlink which opens the folder/file, using a embedded hyperlink in order to reduce
|
||||
the size of the boxes and have consistency
|
||||
the size of the boxes and have consistency
|
||||
|
||||
1. finds installed steam, (apt/flatpak)
|
||||
1. finds installed steam, (apt/flatpak)
|
||||
2. Loads .vdf from location
|
||||
3. Fetches additional steam libraries
|
||||
4. Checks mounted status (to exclude things not present)
|
||||
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
|
||||
|
||||
@@ -20,9 +20,6 @@ class SteamGamePathTool:
|
||||
self.steam_vdf = vd.parse_vdf(self.steam_vdf_path)
|
||||
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 = self.sort_games(games)
|
||||
|
||||
@@ -30,6 +27,9 @@ class SteamGamePathTool:
|
||||
game_rend = [Panel(self.get_game_content(game), expand=True) for game in games]
|
||||
console.print(Columns(game_rend))
|
||||
|
||||
for library in self.steam_library_locations:
|
||||
print(f"[+] Found Steam library at: {library}")
|
||||
|
||||
self.prompter = PromptHelper(games)
|
||||
while True:
|
||||
self.prompt_user()
|
||||
|
||||
@@ -4,6 +4,8 @@ import sys
|
||||
|
||||
def generate_completer(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))
|
||||
|
||||
class PromptHelper:
|
||||
|
||||
Reference in New Issue
Block a user