Bug fix: first line in cue file was incorrectly formatted

This commit is contained in:
Robert McRackan 2021-04-12 14:52:19 -04:00
parent f55a3ca008
commit 215c539920
7 changed files with 133 additions and 94 deletions

View file

@ -13,7 +13,7 @@
<!-- <PublishSingleFile>true</PublishSingleFile> -->
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<Version>4.2.3.1</Version>
<Version>4.2.4.1</Version>
</PropertyGroup>
<ItemGroup>

View file

@ -380,19 +380,25 @@ namespace LibationLauncher
try
{
LibationWinForms.BookLiberation.ProcessorAutomationController.DownloadFileAsync(zipUrl, selectedPath).GetAwaiter().GetResult();
MessageBox.Show($"File downloaded");
MessageBox.Show("File downloaded");
}
catch (Exception ex)
{
MessageBox.Show($"ERROR: {ex.Message}\r\n{ex.StackTrace}");
Error(ex, "Error downloading update");
}
}
catch (Exception ex)
{
MessageBox.Show($"Error checking for update. ERROR: {ex.Message}\r\n{ex.StackTrace}");
Error(ex, "Error checking for update");
}
}
private static void Error(Exception ex, string message)
{
Log.Logger.Error(ex, message);
MessageBox.Show($"{message}\r\nSee log for details");
}
private static void logStartupState()
{
var config = Configuration.Instance;