diff --git a/v2rayN/v2rayUpgrade/MainForm.cs b/v2rayN/v2rayUpgrade/MainForm.cs index 4edb657e..02f0e933 100644 --- a/v2rayN/v2rayUpgrade/MainForm.cs +++ b/v2rayN/v2rayUpgrade/MainForm.cs @@ -92,9 +92,9 @@ namespace v2rayUpgrade File.Move(Application.ExecutablePath, thisAppOldFile); } - string entryOuputPath = GetPath(fullName); - Directory.CreateDirectory(Path.GetDirectoryName(entryOuputPath)!); - entry.ExtractToFile(entryOuputPath, true); + string entryOutputPath = GetPath(fullName); + Directory.CreateDirectory(Path.GetDirectoryName(entryOutputPath)!); + entry.ExtractToFile(entryOutputPath, true); } catch (Exception ex) { @@ -145,4 +145,4 @@ namespace v2rayUpgrade return Path.Combine(startupPath, fileName); } } -} \ No newline at end of file +}