mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-10-11 02:49:40 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
403e5d65a5 | ||
|
|
354a1d9ac5 |
@@ -99,7 +99,7 @@ def main() -> None:
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
"--version", action="version", version="cyan v1.4"
|
||||
"--version", action="version", version="cyan v1.4.1"
|
||||
)
|
||||
|
||||
from cyan import logic
|
||||
|
||||
@@ -84,15 +84,16 @@ class Executable:
|
||||
|
||||
for dep in self.get_dependencies():
|
||||
for common, info in self.common.items():
|
||||
if common in dep.lower() and dep != info["path"]:
|
||||
if common in dep.lower():
|
||||
needed.add(common)
|
||||
|
||||
if dep != info["path"]:
|
||||
self.change_dependency(dep, info["path"])
|
||||
print(
|
||||
f"[*] fixed common dependency in {self.bn}: "
|
||||
f"{dep} -> {info['path']}"
|
||||
)
|
||||
|
||||
needed.add(common)
|
||||
|
||||
def fix_dependencies(self, tweaks: dict[str, str]) -> None:
|
||||
for dep in self.get_dependencies():
|
||||
for cname in tweaks:
|
||||
|
||||
@@ -5,7 +5,7 @@ import subprocess
|
||||
from typing import Optional
|
||||
|
||||
try:
|
||||
import lief
|
||||
import lief # type: ignore
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user