mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 08:09:18 +01:00
Update NonSteamLaunchers.sh
This commit is contained in:
parent
470a741987
commit
c36518f33a
@ -2961,7 +2961,6 @@ print(sys.path) # Add this line to print the value of sys.path
|
||||
import vdf # Updated import
|
||||
import binascii
|
||||
import re
|
||||
from urllib.parse import quote
|
||||
|
||||
|
||||
# Print the path to the file where the vdf module was loaded from
|
||||
@ -3112,9 +3111,6 @@ for custom_website in custom_websites:
|
||||
# Remove any leading or trailing spaces from the custom website URL
|
||||
custom_website = custom_website.strip()
|
||||
|
||||
# Encode the URL to replace special characters with their percent-encoded equivalents
|
||||
custom_website = quote(custom_website, safe=':/')
|
||||
|
||||
# Remove the 'http://' or 'https://' prefix and the 'www.' prefix, if present
|
||||
clean_website = custom_website.replace('http://', '').replace('https://', '').replace('www.', '')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user