diff --git a/TouchSenderTablet.GUI/Strings/en-us/Resources.resw b/TouchSenderTablet.GUI/Strings/en-us/Resources.resw index 3e61cc1..8faf196 100644 --- a/TouchSenderTablet.GUI/Strings/en-us/Resources.resw +++ b/TouchSenderTablet.GUI/Strings/en-us/Resources.resw @@ -144,6 +144,12 @@ About + + GitHub Repository + + + Report a bug or send feedback + TODO: Replace with your app description. diff --git a/TouchSenderTablet.GUI/Strings/ja-jp/Resources.resw b/TouchSenderTablet.GUI/Strings/ja-jp/Resources.resw index 7bc38ca..9bf31e2 100644 --- a/TouchSenderTablet.GUI/Strings/ja-jp/Resources.resw +++ b/TouchSenderTablet.GUI/Strings/ja-jp/Resources.resw @@ -144,6 +144,12 @@ About + + GitHubリポジトリ + + + バグ報告またはフィードバックの送信 + TODO: Replace with your app description. diff --git a/TouchSenderTablet.GUI/Views/SettingsPage.xaml b/TouchSenderTablet.GUI/Views/SettingsPage.xaml index 723e685..8536234 100644 --- a/TouchSenderTablet.GUI/Views/SettingsPage.xaml +++ b/TouchSenderTablet.GUI/Views/SettingsPage.xaml @@ -51,6 +51,20 @@ Foreground="{ThemeResource TextFillColorSecondaryBrush}" IsTextSelectionEnabled="True" Text="{x:Bind ViewModel.Version}" /> + + + + diff --git a/TouchSenderTablet.GUI/Views/SettingsPage.xaml.cs b/TouchSenderTablet.GUI/Views/SettingsPage.xaml.cs index 0cbeb26..5b07b16 100644 --- a/TouchSenderTablet.GUI/Views/SettingsPage.xaml.cs +++ b/TouchSenderTablet.GUI/Views/SettingsPage.xaml.cs @@ -1,4 +1,6 @@ -using Microsoft.UI.Xaml; +using System.Diagnostics; + +using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using TouchSenderTablet.GUI.Helpers; @@ -28,4 +30,22 @@ private void OnThemeSelectionChanged(object sender, SelectionChangedEventArgs e) ViewModel.SwitchThemeCommand.Execute(EnumHelper.GetEnum(selectedTheme)); } } + + private void GitHubRepositorySettingsCard_Click(object sender, RoutedEventArgs e) + { + Process.Start(new ProcessStartInfo + { + FileName = "https://github.com/voltaney/TouchSenderTablet", + UseShellExecute = true, + }); + } + + private void GitHubIssuesSettingsCard_Click(object sender, RoutedEventArgs e) + { + Process.Start(new ProcessStartInfo + { + FileName = "https://github.com/voltaney/TouchSenderTablet/issues", + UseShellExecute = true, + }); + } }