Fix wiki link on LinksView

This commit is contained in:
trawzified 2023-11-28 23:27:14 +01:00
parent 61b2ce648a
commit 8af7cda817
3 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,7 @@ public static class Consts
public static Uri WabbajackGithubUri => new("https://github.com/wabbajack-tools/wabbajack");
public static Uri WabbajackDiscordUri => new("https://discord.gg/wabbajack");
public static Uri WabbajackPatreonUri => new("https://www.patreon.com/user?u=11907933");
public static Uri WabbajackWikiUri => new("https://wiki.wabbajack.org");
public static Version CurrentMinimumWabbajackVersion { get; set; } = Version.Parse("2.3.0.0");
public static bool UseNetworkWorkaroundMode { get; set; } = false;
public static AbsolutePath CefCacheLocation { get; } = KnownFolders.WabbajackAppLocal.Combine("Cef");

View File

@ -72,7 +72,7 @@
<icon:PackIconMaterial Grid.Column="1" Width="28" Height="28" Kind="Discord" VerticalAlignment="Center" HorizontalAlignment="Right" />
</Grid>
</Button>
<Button Grid.Column="3" Style="{StaticResource LargeButtonStyle}" Margin="10,0" Click="Discord_Click" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
<Button Grid.Column="3" Style="{StaticResource LargeButtonStyle}" Margin="10,0" Click="Wiki_Click" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />

View File

@ -24,5 +24,8 @@ namespace Wabbajack
private void Patreon_Click(object sender, RoutedEventArgs e)
=> UIUtils.OpenWebsite(Consts.WabbajackPatreonUri);
private void Wiki_Click(object sender, RoutedEventArgs e)
=> UIUtils.OpenWebsite(Consts.WabbajackWikiUri);
}
}