diff --git a/EftPatchHelper/EftPatchHelper/Tasks/UploadTasks.cs b/EftPatchHelper/EftPatchHelper/Tasks/UploadTasks.cs index b56b1a3..1f10294 100644 --- a/EftPatchHelper/EftPatchHelper/Tasks/UploadTasks.cs +++ b/EftPatchHelper/EftPatchHelper/Tasks/UploadTasks.cs @@ -46,8 +46,16 @@ namespace EftPatchHelper.Tasks foreach (var pair in _options.MirrorList) { - // value is the link, key is the hub entry text - output += $"\n
"; + var displayText = pair.Key; + var link = pair.Value; + + if(link.Contains("gofile.io/download/direct/")) + { + // gofile direct link is only for the mirror list, the hub entry should use the normal link + link = link.Replace("gofile.io/download/direct/", "gofile.io/download/"); + } + + output += $"\n"; } AnsiConsole.WriteLine(output);