mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
Add files via upload
This commit is contained in:
parent
240f3193bd
commit
642a508bd3
@ -78,7 +78,8 @@ custom_websites = websites_str.split(', ') if websites_str else []
|
|||||||
|
|
||||||
# Define the parent folder
|
# Define the parent folder
|
||||||
parent_folder = f"{logged_in_home}/.config/systemd/user/Modules"
|
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
|
# Now that the requests module has been downloaded, you can import it
|
||||||
sys.path.insert(0, parent_folder)
|
sys.path.insert(0, parent_folder)
|
||||||
import requests
|
import requests
|
||||||
@ -87,6 +88,7 @@ from steamgrid import SteamGridDB
|
|||||||
print(sys.path)
|
print(sys.path)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#Set Up nslgamescanner.service
|
#Set Up nslgamescanner.service
|
||||||
# Define the paths
|
# Define the paths
|
||||||
service_path = f"{logged_in_home}/.config/systemd/user/nslgamescanner.service"
|
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_cache = {}
|
||||||
|
|
||||||
#API KEYS FOR NONSTEAMLAUNCHER USE ONLY
|
#API KEYS FOR NONSTEAMLAUNCHER USE ONLY
|
||||||
sgdb = SteamGridDB('412210605b01f8777debeaec5e58e119')
|
sgdb = SteamGridDB('8d4131fd8213502c20276b738f7acb1a')
|
||||||
api_key = '412210605b01f8777debeaec5e58e119'
|
api_key = '8d4131fd8213502c20276b738f7acb1a'
|
||||||
|
|
||||||
#GLOBAL VARS
|
#GLOBAL VARS
|
||||||
created_shortcuts = []
|
created_shortcuts = []
|
||||||
|
Loading…
Reference in New Issue
Block a user