From 8d04ae3231ff7084bbc9f12ddab0166ec349f637 Mon Sep 17 00:00:00 2001 From: jason-oliveira Date: Sat, 7 Dec 2024 06:10:09 -0600 Subject: [PATCH] LibGit2Sharp v0.29.0 moved CloneOptions properties into FetchOptions (#91) Co-authored-by: Jason Oliveira --- AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj | 4 ++-- AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs | 5 +++-- AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj b/AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj index 5e1058d..a8babb4 100644 --- a/AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj +++ b/AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj @@ -31,7 +31,7 @@ - + @@ -96,4 +96,4 @@ - \ No newline at end of file + diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index 6aca781..e5a3e23 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -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 @@ -1081,4 +1082,4 @@ private void UpdateModButtonClicked(object sender, EventArgs e) } #endregion -} \ No newline at end of file +} diff --git a/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj b/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj index b6ff708..45831e6 100644 --- a/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj +++ b/AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj @@ -8,7 +8,7 @@ - + @@ -19,4 +19,4 @@ - \ No newline at end of file +