Skip to content

Conversation

@Bluscream
Copy link

Changes

This PR adds several enhancements to fastfetch:

BIOS Module Enhancement

  • Modified BIOS module to display vendor and version by default instead of just version and release
  • Format: BIOS (UEFI): <vendor> <version>

Board Module Enhancement

  • Modified Board module to display vendor and revision by default instead of name and version
  • Format: Board: <vendor> <revision>

New Security Module

  • Added new Security module that displays:
    • TPM status (version if available, or "TPM OK"/"TPM Not Available")
    • Secure Boot status (Enabled/Disabled/Unknown)
  • Format: Security: TPM 2.0, Secure Boot Enabled
  • Includes platform-specific detection for Windows and Linux
  • Added to default structure

Files Changed

  • Modified: src/modules/bios/bios.c, src/modules/board/board.c
  • New: src/detection/security/*, src/modules/security/*
  • Updated: src/data/structure.txt, CMakeLists.txt, module registration files

All changes have been tested and are working correctly.

- Modified BIOS module to display vendor and version by default
- Modified Board module to display vendor and revision by default
- Added new Security module that displays TPM status and Secure Boot status
- Added Security module to default structure
- Added platform-specific detection for Windows and Linux
- Registered Security module in module system
@CarterLi
Copy link
Member

  1. Changing behaviors of existing modules should be discussed in separate issues or pull requests.
  2. Unrelated and AI generated code (like the changes in CMakeList) should be removed.

@CarterLi CarterLi closed this Dec 27, 2025
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.

2 participants