From 72126fb78263bfbc40a8962202052759dcd97786 Mon Sep 17 00:00:00 2001 From: sin365 <353374337@qq.com> Date: Tue, 18 Jun 2024 16:47:58 +0800 Subject: [PATCH] fix --- AxibugRedirector/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AxibugRedirector/Program.cs b/AxibugRedirector/Program.cs index 59271a9..680655b 100644 --- a/AxibugRedirector/Program.cs +++ b/AxibugRedirector/Program.cs @@ -47,7 +47,8 @@ namespace AxibugRedirector if (type == 1) { Console.Write("请输入目标进程PID:"); - if (int.TryParse(readStr, out int pid)) + string readpid = Console.ReadLine(); + if (int.TryParse(readpid, out int pid)) { if (DoInjectByPid(pid)) {