Skip to content

Commit

Permalink
LibGit2Sharp v0.29.0 moved CloneOptions properties into FetchOptions (#…
Browse files Browse the repository at this point in the history
…91)

Co-authored-by: Jason Oliveira <[email protected]>
  • Loading branch information
jason-oliveira and Jason Oliveira authored Dec 7, 2024
1 parent fce473b commit 8d04ae3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="LibGit2Sharp" Version="0.27.2" />
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
Expand Down Expand Up @@ -96,4 +96,4 @@
</None>
</ItemGroup>

</Project>
</Project>
5 changes: 3 additions & 2 deletions AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ private async void PlayButtonClickEvent(object sender, EventArgs e)
EnableProgressBarAndLabel();

// Set up progressBar update method
CloneOptions cloneOptions = new CloneOptions { OnTransferProgress = TransferProgressHandlerMethod };
FetchOptions fetchOptions = new FetchOptions { OnTransferProgress = TransferProgressHandlerMethod };
var cloneOptions = new CloneOptions(fetchOptions);

// Try to clone
try
Expand Down Expand Up @@ -1081,4 +1082,4 @@ private void UpdateModButtonClicked(object sender, EventArgs e)
}

#endregion
}
}
4 changes: 2 additions & 2 deletions AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="LibGit2Sharp" Version="0.27.2" />
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
</ItemGroup>
Expand All @@ -19,4 +19,4 @@
</Reference>
</ItemGroup>

</Project>
</Project>

0 comments on commit 8d04ae3

Please sign in to comment.