Skip to content

Logo: Preserve the small logo type in generated configs - #2762

Open
IshanKale wants to merge 1 commit into
fastfetch-cli:devfrom
IshanKale:fix/2758-small-logo-config
Open

IshanKale wants to merge 1 commit into
fastfetch-cli:devfrom
IshanKale:fix/2758-small-logo-config

Conversation

@IshanKale

Copy link
Copy Markdown

Summary

Selecting the small logo in the interactive generator saved "logo": "small" in minimal configs. On reload, Fastfetch treated small as a source and displayed the default logo.

Related issue

Fixes #2758

Changes

  • Save {"type": "small"} using the existing logo object serializer.
  • Add an interactive regression test and changelog entry.
    Reproduced on 2.71.0 and dev. After the fix, default, small, and disabled logos round-tripped in minimal and full configs on Linux. All 21 CTests passed. Windows PowerShell 5.1 remains untested.
    OpenAI Codex assisted with the fix and testing.

Screenshots

N/A. The change corrects the generated JSON.

Checklist

  • I have tested my changes locally.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Interactive Config Generator

1 participant