mirror of https://github.com/2dust/v2rayN
parent
9643695389
commit
047d08470f
|
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -145,4 +145,4 @@ namespace v2rayUpgrade
|
||||||
return Path.Combine(startupPath, fileName);
|
return Path.Combine(startupPath, fileName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue