AntonyCorbett / JWLMerge

Utility to merge jwlibrary backup files
MIT License
194 stars 33 forks source link

App crashes when clicking on the "Homepage" button #55

Closed DavidIQ closed 2 years ago

DavidIQ commented 2 years ago

Describe the bug When clicking on the Homepage button the app immediately closes.

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Click on Homepage button
  3. See error:
2021-10-11 20:09:59.284 -04:00 [INF] ==== Launched ====
2021-10-11 20:09:59.327 -04:00 [INF] Version 2.0.0.5
2021-10-11 20:10:09.256 -04:00 [FTL] Unhandled exception
System.ComponentModel.Win32Exception (2): The system cannot find the file specified.
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start(String fileName)
   at JWLMerge.ViewModel.MainViewModel.LaunchHomepage()
   at Microsoft.Toolkit.Mvvm.Input.RelayCommand.Execute(Object parameter)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()

Expected behavior Default browser opens on the preset web URL.

Screenshots N/A

Desktop (please complete the following information):

DavidIQ commented 2 years ago

I'm assuming that this is happening because, for some reason, the HOMEPAGE value being used here isn't set. Was trying to find where it is that the .net framework put the app config file, but having a hard time finding it.