Skip to content

Commit

Permalink
If Launcher is not installed, then say that in GH issue form
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Jul 8, 2024
1 parent 6d146c3 commit c527d90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LegendaryLibrarySettingsView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private async void LegendarySettingsUC_Loaded(object sender, RoutedEventArgs e)
if (LegendaryLauncher.IsInstalled)
{
var launcherVersion = await LegendaryLauncher.GetLauncherVersion();
if (launcherVersion != "0")
if (!launcherVersion.IsNullOrWhiteSpace())
{
troubleshootingInformation.LauncherVersion = launcherVersion;
LauncherVersionTxt.Text = troubleshootingInformation.LauncherVersion;
Expand All @@ -213,6 +213,7 @@ private async void LegendarySettingsUC_Loaded(object sender, RoutedEventArgs e)
}
else
{
troubleshootingInformation.LauncherVersion = "Not%20installed";
LauncherVersionTxt.Text = ResourceProvider.GetString(LOC.LegendaryLauncherNotInstalled);
LauncherBinaryTxt.Text = ResourceProvider.GetString(LOC.LegendaryLauncherNotInstalled);
CheckForUpdatesBtn.IsEnabled = false;
Expand Down

0 comments on commit c527d90

Please sign in to comment.