repair manager project

This commit is contained in:
2025-06-26 18:53:00 +02:00
parent d85a41c158
commit 04848d4622
31 changed files with 129 additions and 122 deletions

View File

@@ -55,7 +55,7 @@ public static class Extensions
if (!string.IsNullOrWhiteSpace(overwriteRefTag))
return @this.InstallUrl?.Replace("{ref}", overwriteRefTag);
if (!string.IsNullOrWhiteSpace(@this.RefTag))
return @this.InstallUrl?.Replace("{ref}", @this.RefTag);
return @this.InstallUrl?.Replace("{ref}", @this.RefTag);
return @this.InstallUrl;
}

View File

@@ -163,7 +163,7 @@ public class ModpackInstaller(ModpackConfig updateConfig, ModpackInfo modpackInf
switch (uaction.Type)
{
case UpdateActionType.Update:
if (!await InstallFile(destFilePath, sourceUrl, uaction.IsZip, uaction.ZipPath, localZipCache))
if (!await InstallFile(destFilePath, sourceUrl, uaction.IsZip, uaction.ZipPath, localZipCache))
return false;
break;
case UpdateActionType.Delete: