Skip to content

Commit 6ac1b40

Browse files
committed
Fix get_launch_method()
1 parent 1bd7867 commit 6ac1b40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/HwCodecDetect/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def get_launch_method():
815815
return "unknown"
816816
parent_name = parent.name().lower()
817817
shell_procs = ["cmd.exe", "powershell.exe", "pwsh.exe", "windows terminal", "wt.exe"]
818-
if parent_name == "explorer.exe":
818+
if parent_name == "explorer.exe" or "hwcodecdetect" in parent_name:
819819
return "double_click"
820820
elif any(shell in parent_name for shell in shell_procs):
821821
return "terminal"

0 commit comments

Comments
 (0)