Add files via upload

This commit is contained in:
Roy 2024-02-10 17:18:13 -08:00 committed by GitHub
parent 240f3193bd
commit 642a508bd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = []