You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix rare issue while Sophon API doesn't override package API
This fixes an issue where some games with no latest package for normal update (ex: Genshin) isn't available and Sophon sometimes didn't get forcefully applied.
This was caused by unfinished task after the URL is re-associated.
Logger.LogWriteLine("This game/region doesn't have Sophon->BranchUrl or PresetConfig->LauncherBizName property defined! This might cause the launcher inaccurately check the version if Zip download is unavailable",LogType.Warning,true);
240
240
}
241
241
242
-
returnsophonUrls
243
-
.EnsureReassociated(ApiGeneralHttpClient,
244
-
sophonBranchUrl,
245
-
PresetConfig.LauncherBizName!,
246
-
false,
247
-
token)
248
-
.ContinueWith(async _ =>
249
-
{
250
-
sophonUrls.ResetAssociation();// Reset association so it won't conflict with preload/update/install activity
0 commit comments