Merge pull request #4149 from eltociear/patch-1

fix typo in MainForm.cs
This commit is contained in:
2dust 2023-08-02 10:15:55 +08:00 committed by GitHub
commit 4f30e3f0e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,9 +92,9 @@ namespace v2rayUpgrade
File.Move(Application.ExecutablePath, thisAppOldFile); File.Move(Application.ExecutablePath, thisAppOldFile);
} }
string entryOuputPath = GetPath(fullName); string entryOutputPath = GetPath(fullName);
Directory.CreateDirectory(Path.GetDirectoryName(entryOuputPath)!); Directory.CreateDirectory(Path.GetDirectoryName(entryOutputPath)!);
entry.ExtractToFile(entryOuputPath, true); entry.ExtractToFile(entryOutputPath, true);
} }
catch (Exception ex) catch (Exception ex)
{ {