Skip to content

Commit c50e3f6

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 643cb9e commit c50e3f6

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
@@ -460,7 +460,7 @@ protected virtual async Task StartAlterSophonPatch(HttpClient
460460
TaskScheduler = TaskScheduler.Default
461461
};
462462

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

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

0 commit comments

Comments
 (0)