LttPClient: try to find linux SNI executable
This commit is contained in:
parent
2f5bdc5cf9
commit
8fbbaf7fcb
|
@ -438,7 +438,8 @@ def launch_sni(ctx: Context):
|
|||
sni_path = Utils.local_path(sni_path)
|
||||
if os.path.isdir(sni_path):
|
||||
for file in os.listdir(sni_path):
|
||||
if file.startswith("sni.") and not file.endswith(".proto"):
|
||||
lower_file = file.lower()
|
||||
if (lower_file.startswith("sni.") and not lower_file.endswith(".proto")) or lower_file == "sni":
|
||||
sni_path = os.path.join(sni_path, file)
|
||||
|
||||
if os.path.isfile(sni_path):
|
||||
|
|
Loading…
Reference in New Issue