Fixed GitHub links

This commit is contained in:
erri120 2020-02-02 13:41:15 +01:00
parent f03db43798
commit dd9baea785
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -50,6 +50,9 @@ namespace Wabbajack
var url = archive.State.GetManifestURL(archive);
if (string.IsNullOrWhiteSpace(url)) return;
if (url.StartsWith("https://github.com/"))
url = url.Substring(0, url.IndexOf("release", StringComparison.Ordinal));
//url = url.Replace("&", "^&");
Process.Start(new ProcessStartInfo("cmd", $"/c start {url}") {CreateNoWindow = true});