fixed ubi path

This commit is contained in:
Roy 2024-01-19 04:21:02 -08:00 committed by GitHub
parent 25b67e2879
commit b7c6f3dca4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -463,8 +463,8 @@ def getInstalledGames(filePath):
return os.listdir(filePath) return os.listdir(filePath)
# Define your paths # Define your paths
data_folder_path = f"{logged_in_home}/Desktop/compatdata/{ubisoft_connect_launcher}/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/data/" data_folder_path = f"{logged_in_home}/.local/share/Steam/steamapps/compatdata/{ubisoft_connect_launcher}/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/data/"
games_folder_path = f"{logged_in_home}/Desktop/compatdata/{ubisoft_connect_launcher}/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/" games_folder_path = f"{logged_in_home}/.local/share/Steam/steamapps/compatdata/{ubisoft_connect_launcher}/pfx/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/games/"
# Check if the paths exist # Check if the paths exist
if not os.path.exists(data_folder_path) or not os.path.exists(games_folder_path): if not os.path.exists(data_folder_path) or not os.path.exists(games_folder_path):