mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
LttP: update SNI handling to v34
This commit is contained in:
@@ -414,7 +414,7 @@ def launch_sni(ctx: Context):
|
|||||||
sni_path = Utils.local_path(sni_path)
|
sni_path = Utils.local_path(sni_path)
|
||||||
if os.path.isdir(sni_path):
|
if os.path.isdir(sni_path):
|
||||||
for file in os.listdir(sni_path):
|
for file in os.listdir(sni_path):
|
||||||
if file.startswith("sni-v"):
|
if file.startswith("sni.") and not file.endswith(".proto"):
|
||||||
sni_path = os.path.join(sni_path, file)
|
sni_path = os.path.join(sni_path, file)
|
||||||
|
|
||||||
if os.path.isfile(sni_path):
|
if os.path.isfile(sni_path):
|
||||||
|
Reference in New Issue
Block a user