Feature: add match_provider to script shortcuts

This commit is contained in:
yaling888
2022-06-06 04:35:52 +08:00
parent 05f0c1060b
commit 663017a775
3 changed files with 39 additions and 5 deletions

View File

@@ -683,8 +683,9 @@ int call_shortcut(PyObject *shortcut_fn,
PyObject *args;
PyObject *result;
args = Py_BuildValue("{s:O, s:s, s:s, s:s, s:s, s:s, s:H, s:s, s:H}",
args = Py_BuildValue("{s:O, s:s, s:s, s:s, s:s, s:s, s:s, s:H, s:s, s:H}",
"ctx", clash_context,
"type", type,
"network", network,
"process_name", process_name,
"process_path", process_path,