Skip to content
This repository was archived by the owner on Apr 3, 2020. It is now read-only.

Commit 331a3bf

Browse files
committed
Files may be in use when running the netcode.io installer - ignore if the case
1 parent 4619ae7 commit 331a3bf

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

netcode.io.wininstall/HelperForm.cs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,16 @@ private void InstallNetcode()
4242
{
4343
foreach (var entry in archive.Entries)
4444
{
45-
entry.ExtractToFile(
46-
Path.Combine(netcodePath, entry.FullName),
47-
true);
45+
try
46+
{
47+
entry.ExtractToFile(
48+
Path.Combine(netcodePath, entry.FullName),
49+
true);
50+
}
51+
catch (Exception ex)
52+
{
53+
System.Diagnostics.Trace.WriteLine(ex);
54+
}
4855
}
4956
}
5057

0 commit comments

Comments
 (0)