static void AutoUpdate(Options options, ColorScheme colorScheme) { // check for application updates try { if (options.AutoUpdate && AutoUpdater.CheckForUpdate()) { AutoUpdater.PerformUpdate(options, colorScheme); } } catch (Exception ex) { ColorfulConsole.WriteLine($"Warning: Auto-update failed. Error: {ex.GetBaseException().Message}", colorScheme.DarkError); } }