Skip to content

Conversation

@OverflowCat
Copy link
Contributor

New builtin logo

ascii-art

Detect

HarmonyOS has no os-release file, so I use the uname -s value. Haven't tested on a real machine as I don't have one, but I think it should work. Below is uname information on HarmonyOS NEXT 5.0.1.120.

$ uname -a
HarmonyOS localhost HongMeng Kernel 1.9.3 #1 SMP Tue May  6 01:52:44 UTC 2025 aarch64

@CarterLi CarterLi requested a review from Copilot June 14, 2025 00:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces HarmonyOS support by adding a new builtin logo and extending OS detection logic. Key changes include:

  • Adding a HarmonyOS logo configuration entry in the builtin logos.
  • Adding an ASCII art file for HarmonyOS.
  • Extending the Linux OS detection to set HarmonyOS details based on uname output.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/logo/builtin.c Adds HarmonyOS logo configuration.
src/logo/ascii/harmonyos.txt Adds the ASCII art logo for HarmonyOS.
src/detection/os/os_linux.c Adds HarmonyOS detection logic based on uname info.

@CarterLi CarterLi merged commit 2e1ddcf into fastfetch-cli:dev Jun 14, 2025
@jotkauser
Copy link

HarmonyOS is Unix based?

@canmi21
Copy link

canmi21 commented Jul 30, 2025

HarmonyOS is Unix based?

Yes,

@OverflowCat
Copy link
Contributor Author

@BA489 Do they give different unames?

@OverflowCat
Copy link
Contributor Author

OverflowCat commented Aug 27, 2025 via email

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.

4 participants