提交 e714163e 编写于 作者: H hjdhnx

修复直播源无法覆盖的问题

上级 8c890cd6
......@@ -14,5 +14,6 @@
"quickSearch":1,
"filterable":0
}
]
],
"lives":[{"group":"redirect","channels":[{"name":"我的直播","urls":["proxy://do=live&type=txt&ext=aHR0cHM6Ly9naXRjb2RlLm5ldC9xcV8yNjg5ODIzMS9UVkJveC8tL3Jhdy9tYWluL2xpdmUvemIudHh0"]}]}],
}
\ No newline at end of file
3.3.0
\ No newline at end of file
3.3.1
\ No newline at end of file
......@@ -65,11 +65,11 @@ def custom_merge(original:dict,custom:dict):
new_keys = custom.keys()
updateObj = {}
extend_obj = {}
for key in ['wallpaper','spider','homepage']:
for key in ['wallpaper','spider','homepage','lives']:
if key in new_keys:
updateObj[key] = custom[key]
for key in ['drives','sites','flags','lives','ads']:
for key in ['drives','sites','flags','ads']:
if key in new_keys:
extend_obj[key] = custom[key]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册