From 642a508bd3f7b9c23272268f9b7ee859ed2be465 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Sat, 10 Feb 2024 17:18:13 -0800 Subject: [PATCH] Add files via upload --- NSLGameScanner.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/NSLGameScanner.py b/NSLGameScanner.py index 4068472..1fbf6eb 100644 --- a/NSLGameScanner.py +++ b/NSLGameScanner.py @@ -78,7 +78,8 @@ custom_websites = websites_str.split(', ') if websites_str else [] # Define the parent folder parent_folder = f"{logged_in_home}/.config/systemd/user/Modules" - +sys.path.insert(0, os.path.expanduser(f"{logged_in_home}/Downloads/NonSteamLaunchersInstallation/lib/python{python_version}/site-packages")) +print(sys.path) # Now that the requests module has been downloaded, you can import it sys.path.insert(0, parent_folder) import requests @@ -87,6 +88,7 @@ from steamgrid import SteamGridDB print(sys.path) + #Set Up nslgamescanner.service # Define the paths service_path = f"{logged_in_home}/.config/systemd/user/nslgamescanner.service" @@ -153,8 +155,8 @@ def get_unsigned_shortcut_id(signed_shortcut_id): api_cache = {} #API KEYS FOR NONSTEAMLAUNCHER USE ONLY -sgdb = SteamGridDB('412210605b01f8777debeaec5e58e119') -api_key = '412210605b01f8777debeaec5e58e119' +sgdb = SteamGridDB('8d4131fd8213502c20276b738f7acb1a') +api_key = '8d4131fd8213502c20276b738f7acb1a' #GLOBAL VARS created_shortcuts = []