mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
🐛 Updated for revanced cli v5
This commit is contained in:
committed by
Nikhil Badyal
parent
3e3d14c14a
commit
614046a15a
+3
-3
@@ -129,11 +129,11 @@ class Patches(object):
|
||||
p["version"] = "all"
|
||||
self.patches_dict["universal_patch"].append(p)
|
||||
else:
|
||||
for compatible_package, version in [(x["name"], x["versions"]) for x in patch["compatiblePackages"]]:
|
||||
for compatible_package, versions in patch["compatiblePackages"].items():
|
||||
if app.package_name == compatible_package:
|
||||
p = {x: patch[x] for x in ["name", "description"]}
|
||||
p = {x: patch[x] for x in ["name", "description", "use"]}
|
||||
p["app"] = compatible_package
|
||||
p["version"] = version[-1] if version else "all"
|
||||
p["version"] = versions[-1] if versions else "all"
|
||||
self.patches_dict[app.app_name].append(p)
|
||||
|
||||
app.no_of_patches = len(self.patches_dict[app.app_name])
|
||||
|
||||
Reference in New Issue
Block a user