Skip to content

Commit 312580f

Browse files
committed
[Sophon] Support to detect patch from HYP's LDiff
Now Collapse can use patch that already been downloaded by HoYoPlay and use it for patch, or vice versa (Download the pre-load on Collapse, apply on HoYoPlay later)
1 parent 07af04b commit 312580f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CollapseLauncher/Classes/InstallManagement/Base/InstallManagerBase.SophonPatch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ protected virtual async Task StartAlterSophonPatch(HttpClient
465465
parallelOptions.MaxDegreeOfParallelism = Environment.ProcessorCount;
466466
}
467467

468-
string patchOutputDir = _gameSophonChunkDir;
468+
string patchOutputDir = Path.Combine(GamePath, "ldiff");
469469

470470
// Get download sizes
471471
long downloadSizeTotalAssetRemote = patchAssets.Where(x => x.PatchMethod != SophonPatchMethod.Remove).Sum(x => x.TargetFileSize);

0 commit comments

Comments
 (0)