feat: 默认从系统变量pycdc中读取路径

This commit is contained in:
dqy 2024-06-04 17:47:25 +08:00
parent 42135c516c
commit 977841837d

View File

@ -420,7 +420,10 @@ def main():
"-m", "--mode", help="Mode of operation:[regex,llm]", default="regex"
)
parser.add_argument(
"-p", "--pycdc", help="Path to pycdc.exe to decompile", default=None
"-p",
"--pycdc",
help="Path to pycdc.exe to decompile",
default=os.getenv("pycdc"),
)
args = parser.parse_args()
output_format = "txt" # Default output format