Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
1b23edc
Flashfetch: reduces duplicated code
CarterLi Mar 29, 2026
cdd4cee
Chore: add clang-format configuration
CarterLi Mar 28, 2026
e0eba8c
Chore: run clang-format
CarterLi Mar 29, 2026
52c7f9f
Swap (macOS): display `Unused` instead of `Disabled` for `0/0`
CarterLi Mar 29, 2026
b022bab
Packaging: update debian stuff [ci skip]
CarterLi Mar 30, 2026
b4e6688
Localip: uses assigned netlink port id on Linux (#2253)
txhno Mar 30, 2026
b00593a
JsonSchema: adds "command-raw" to schema (#2255)
eitan-j Mar 31, 2026
239233f
Swap (macOS): don't check if swap is enabled on macOS 26 or later
CarterLi Mar 30, 2026
c2da9b0
Chore: tidy
CarterLi Mar 30, 2026
5f26170
Style: adds `BreakBeforeCloseBracketBracedList: true`
CarterLi Mar 30, 2026
8316599
Style: adds `Cpp11BracedListStyle: Block`
CarterLi Mar 30, 2026
d4b1ae9
PhysicalDisk / DiskIO (macOS): improves performance by query less IO …
CarterLi Mar 30, 2026
0c401a0
PhysicalDisk: detects virtual disks
CarterLi Mar 31, 2026
4f3e823
Smbios: improves log
CarterLi Mar 31, 2026
6cf403d
Global: renames `smbiosHelper` to `smbios`
CarterLi Mar 31, 2026
9979515
PhysicalDisk (macOS): adds type unknown detection
CarterLi Apr 1, 2026
643db92
PhysicalDisk (Linux): adds type unknown detection
CarterLi Apr 1, 2026
c37ac4d
PhysicalDisk (Windows): adds type virtual and type unknown detection
CarterLi Apr 1, 2026
6319b68
PhysicalDisk (FreeBSD): adds type virtual and type unknown detection
CarterLi Apr 1, 2026
299451c
GPU (Linux): ensures we don't pass invalid length to `calloc`
CarterLi Apr 1, 2026
ed4d903
Sysctl (OpenBSD): improves error messages
CarterLi Apr 2, 2026
c9dbf99
PhysicalDisk (OpenBSD): adds support
CarterLi Apr 2, 2026
77c916f
CI: splits different jobs into different yml files
CarterLi Apr 2, 2026
31a35cf
Bios (NetBSD): adds fall back method
CarterLi Apr 3, 2026
3da344d
DiskIO (NetBSD): ignores partitions
CarterLi Apr 3, 2026
e639700
PhysicalDisk (OpenBSD): fix potencial out-of-bound read
CarterLi Apr 3, 2026
ce9f4da
PhysicalDisk: adds `unknown` in JSON result
CarterLi Apr 3, 2026
8d0ceff
PhysicalDisk (OpenBSD): fixes issues found later
CarterLi Apr 3, 2026
2a103f6
PhysicalDisk (NetBSD): adds support
CarterLi Apr 3, 2026
8913620
PhysicalDisk (NetBSD): fixes building on older systems
CarterLi Apr 3, 2026
b7890e1
PhysicalDisk (SunOS): better device type detection
CarterLi Apr 3, 2026
152f3cd
Disk (SunOS): trims disk name
CarterLi Apr 3, 2026
04c486d
PhysicalDisk (SunOS): detects unknown type
CarterLi Apr 3, 2026
604aacb
Wifi (macOS): corrects typo in WPA Personal Mixed security string (#2…
mtn-man Apr 4, 2026
9cfe7a7
GPU (Windows): rewrites with D3DKMT APIs
CarterLi Apr 4, 2026
94164b8
GPU (WSL): unifies code with the windows version
CarterLi Apr 4, 2026
7147f23
GPU (Windows): ignores invalid D3DKMT responses
CarterLi Apr 4, 2026
6550b77
fix(zpool): correct documented format placeholders
lildannita Apr 4, 2026
14cd933
fix(help): align format placeholders dynamically
lildannita Apr 4, 2026
85594d2
GPU (Windows): restores Win8.1 support
CarterLi Apr 5, 2026
44af8b8
Battery (Windows): tidy
CarterLi Apr 5, 2026
39cfc7a
Debug (Windows): ensures UTF-8 output
CarterLi Apr 5, 2026
7887067
PhysicalDisk (Windows): switches to CMAPI; adds floppy support
CarterLi Apr 5, 2026
7045dea
Global (Windows): fixes building on i686
CarterLi Apr 5, 2026
97ce079
GPU (Windows): adds fallback method for GPU vendor detection
CarterLi Apr 6, 2026
50739ee
Cursor (Windows): fixes Win8.1 support
CarterLi Apr 6, 2026
5fe2cc6
PhysicalDisk (Windows): adds simple debug log
CarterLi Apr 6, 2026
2b82e9a
Fix potential use-after-free and overlapping memory copy in ffStrbufS…
fam007e Apr 8, 2026
6b95eb2
GPU: fixes the vendor name of Parallels
CarterLi Apr 7, 2026
1642348
GPU (Windows): updates comments
CarterLi Apr 7, 2026
e150498
GPU (Windows): improves support of non-PCI devices
CarterLi Apr 7, 2026
ab32056
PhysicalDisk (NetBSD): honors `namePrefix`
CarterLi Apr 8, 2026
c09a788
PhysicalDisk (OpenBSD): honors `namePrefix`
CarterLi Apr 8, 2026
17eb22d
PhysicalDisk: adds option `hideVirtual` (defaults to false) and `hide…
CarterLi Apr 8, 2026
d71d6a6
Swap (macOS): fixes a compiler warning
CarterLi Apr 8, 2026
f683586
Swap (Windows): fixes out-of-bound memory access when swaps are disabled
CarterLi Apr 8, 2026
9090dbd
PhysicalDisk (macOS): detects 0-size disks
CarterLi Apr 8, 2026
e8e43c1
PhysicalDisk: renames `hideUnknown` for `hideUnused`
CarterLi Apr 9, 2026
af884bb
FFstrbuf: silence a compiler warning
CarterLi Apr 9, 2026
254fb82
Battery (Linux): fixes AC status can be incorrectly detected as `Conn…
CarterLi Apr 9, 2026
886bde4
Battery (Linux): checks if battery's present before parsing
CarterLi Apr 9, 2026
04bd504
PowerAdapter (Linux): tidy
CarterLi Apr 9, 2026
3e69361
Battery (OpenBSD): adds Unknown state
CarterLi Apr 9, 2026
f6a363f
Global: unifies GCC attributes usage
CarterLi Apr 9, 2026
b360339
Battery: refactors `status` field from string to bit-fields
CarterLi Apr 9, 2026
4dc5033
PowerAdapter (Linux): checks if the device is present
CarterLi Apr 10, 2026
679def2
Global: formats code [ci skip]
CarterLi Apr 12, 2026
3cc0e40
Smbios: updates EMTF standard version
CarterLi Apr 13, 2026
6d01c0b
PhysicalDisk (NetBSD/OpenBSD): adds debug logs
CarterLi Apr 13, 2026
48daf4a
Camera (macOS): fixes a compiler warning
CarterLi Apr 13, 2026
d81a7b6
Smbios: improves logging
Apr 13, 2026
10f58e4
Smbios (FreeBSD): adds fallback method for non-UEFI systems
Apr 13, 2026
ee7f574
Smbios (OpenBSD): reads table address from `dmesg`
CarterLi Apr 13, 2026
c7ecc33
Global: removes `FFlist::elementSize`
CarterLi Apr 14, 2026
08de5ea
Sound: merges `isMain` and `isActive` to `type`
CarterLi Apr 14, 2026
683e90c
Smbios (FreeBSD): unifies pread/mmap handling
CarterLi Apr 14, 2026
f8a8864
Smbios (OpenBSD): reads table address from `dmesg`
CarterLi Apr 14, 2026
1cd196b
Smbios: uses the standard type `off_t`
CarterLi Apr 15, 2026
c851c39
Options: fixes copy&paste errors
CarterLi Apr 15, 2026
4236d83
Options: uses enums instead of hard code number [ci skip]
CarterLi Apr 15, 2026
b63bd5b
Smbios: refactors code
CarterLi Apr 15, 2026
abc6c05
Chore: `IndentPPDirectives: BeforeHash` [ci skip]
CarterLi Apr 15, 2026
ce51dbf
Smbios (Linux): fixes compiling errors
CarterLi Apr 15, 2026
6e4de3e
Platform (Windows): uses `LsaGetUserName` to acquire user name
CarterLi Apr 15, 2026
64d2c44
Binary (macOS): improve performance with `mmap(2)`
CarterLi Apr 16, 2026
528f9f1
Config: adds `display.common.(ndigits|spaceBeforeUnit)`
CarterLi Apr 16, 2026
c601b68
Doc: improves overall English grammer
CarterLi Apr 16, 2026
1956c66
PhysicalMemory (Android): fixes compiling
CarterLi Apr 16, 2026
e252652
Smbios: fixes typo
CarterLi Apr 16, 2026
c1c6ccc
Shell (Linux): fixes ash version detection
CarterLi Apr 17, 2026
5ce3220
Logo (Builtin): updates AerynOS
CarterLi Apr 18, 2026
278a383
Logo (Image): uses iterm image protocol on iTerm terminal
CarterLi Apr 18, 2026
e8865e6
ci: pin third-party GitHub Actions to immutable commit SHAs
Apr 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 81 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
BasedOnStyle: LLVM
Language: Cpp

UseTab: Never
IndentWidth: 4
TabWidth: 4
ContinuationIndentWidth: 4

ColumnLimit: 0
ReflowComments: true

BreakBeforeBraces: Attach
BreakBeforeCloseBracketBracedList: true
BraceWrapping:
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeElse: false
BeforeCatch: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
IndentExternBlock: NoIndent

AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLoopsOnASingleLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: Empty
InsertBraces: true

PointerAlignment: Left
DerivePointerAlignment: false
SpaceBeforeParens: ControlStatements
SpacesInParentheses: false
SpaceAfterCStyleCast: true
SpacesInLineCommentPrefix:
Minimum: 1
Maximum: 1
SpacesInContainerLiterals: true

SortIncludes: Never
IndentPPDirectives: BeforeHash
PPIndentWidth: 4

IndentCaseLabels: true

AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: DontAlign

BinPackParameters: false
BinPackArguments: false
AlignAfterOpenBracket: DontAlign
BracedInitializerIndentWidth: 4
Cpp11BracedListStyle: Block

ForEachMacros:
- FF_LIST_FOR_EACH
- yyjson_obj_foreach
- yyjson_arr_foreach
- yyjson_mut_obj_foreach
- yyjson_mut_arr_foreach

AttributeMacros:
- FF_A_FALLTHROUGH
- FF_A_DEPRECATED
- FF_A_CLEANUP
- FF_A_NODISCARD
- FF_A_PRINTF
- FF_A_SCANF
- FF_A_NONNULL
- FF_A_RETURNS_NONNULL
- FF_A_UNUSED
- FF_A_PACKED
- FF_A_WEAK_IMPORT

MaxEmptyLinesToKeep: 1
KeepEmptyLinesAtTheStartOfBlocks: false
2 changes: 2 additions & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/3rdparty/**
build/**
40 changes: 40 additions & 0 deletions .github/workflows/build-dragonfly-amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Reusable DragonFly amd64

on:
workflow_call:

env:
CMAKE_BUILD_TYPE: ${{ vars.CMAKE_BUILD_TYPE || 'RelWithDebInfo' }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: run VM
uses: vmactions/dragonflybsd-vm@v1
with:
usesh: yes
envs: 'CMAKE_BUILD_TYPE'
prepare: |
uname -a
pkg update
pkg install -y llvm cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl egl opencl ocl-icd v4l_compat chafa libelf

run: |
env CC=clang cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: fastfetch-dragonfly-amd64
path: ./fastfetch-*.*
42 changes: 42 additions & 0 deletions .github/workflows/build-freebsd-amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Reusable FreeBSD amd64

on:
workflow_call:

env:
CMAKE_BUILD_TYPE: ${{ vars.CMAKE_BUILD_TYPE || 'RelWithDebInfo' }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: run VM
uses: cross-platform-actions/action@13ec3be3fbdf
with:
operating_system: freebsd
architecture: x86-64
cpu_count: 4
shell: bash
version: '15.0'
environment_variables: 'CMAKE_BUILD_TYPE'
run: |
uname -a
sudo pkg update
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl egl opencl ocl-icd v4l_compat chafa
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: fastfetch-freebsd-amd64
path: ./fastfetch-*.*
40 changes: 40 additions & 0 deletions .github/workflows/build-haiku-amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Reusable Haiku amd64

on:
workflow_call:

env:
CMAKE_BUILD_TYPE: ${{ vars.CMAKE_BUILD_TYPE || 'RelWithDebInfo' }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: run VM
uses: cross-platform-actions/action@13ec3be3fbdf
with:
operating_system: haiku
version: 'r1beta5'
architecture: x86-64
cpu_count: 4
shell: bash
environment_variables: 'CMAKE_BUILD_TYPE'
run: |
uname -a
pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10 || pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: fastfetch-haiku-amd64
path: ./fastfetch-*.*
40 changes: 40 additions & 0 deletions .github/workflows/build-linux-armv6l.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Reusable Linux armv6l

on:
workflow_call:

env:
CMAKE_BUILD_TYPE: ${{ vars.CMAKE_BUILD_TYPE || 'RelWithDebInfo' }}

jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: run VM
uses: uraimo/run-on-arch-action@v3
id: runcmd
with:
arch: armv6
distro: bookworm
githubToken: ${{ github.token }}
run: |
uname -a
apt-get update && apt-get install -y wget
apt-get install -y cmake make gcc libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev rpm
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: fastfetch-linux-armv6l
path: ./fastfetch-*.*
44 changes: 44 additions & 0 deletions .github/workflows/build-linux-armv7l.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Reusable Linux armv7l

on:
workflow_call:

env:
CMAKE_BUILD_TYPE: ${{ vars.CMAKE_BUILD_TYPE || 'RelWithDebInfo' }}

jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: run VM
uses: uraimo/run-on-arch-action@v3
id: runcmd
with:
arch: armv7
distro: ubuntu22.04
githubToken: ${{ github.token }}
run: |
uname -a
apt-get update && apt-get install -y software-properties-common ca-certificates gpg curl
add-apt-repository -y ppa:ubuntu-toolchain-r/test
curl -L https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null
echo -e 'Acquire::https::Verify-Peer "false";\nAcquire::https::Verify-Host "false";' >> /etc/apt/apt.conf.d/99ignore-certificates
apt-get update && apt-get install -y cmake make gcc-13 libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev rpm
CC=gcc-13 cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_INSTALL_PREFIX=/usr .
cmake --build . --target package --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: fastfetch-linux-armv7l
path: ./fastfetch-*.*
103 changes: 103 additions & 0 deletions .github/workflows/build-linux-hosts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Reusable Linux Hosts

on:
workflow_call:
inputs:
arch:
required: true
type: string
runs-on:
required: true
type: string
outputs:
ffversion:
description: fastfetch version from linux host build
value: ${{ jobs.build.outputs.ffversion }}

env:
CMAKE_BUILD_TYPE: ${{ vars.CMAKE_BUILD_TYPE || 'RelWithDebInfo' }}

jobs:
build:
runs-on: ${{ inputs.runs-on }}
outputs:
ffversion: ${{ steps.ffversion.outputs.ffversion }}
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: uname -a
run: uname -a

- name: cat /etc/os-release
run: cat /etc/os-release

- name: cat /proc/cpuinfo
run: cat /proc/cpuinfo

- name: add gcc-13 repo
run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test

- name: install required packages
run: sudo apt-get update && sudo apt-get install -y gcc-13 libvulkan-dev libwayland-dev libxrandr-dev libxcb-randr0-dev libdconf-dev libdbus-1-dev libmagickcore-dev libsqlite3-dev librpm-dev libegl-dev libglx-dev ocl-icd-opencl-dev libpulse-dev libdrm-dev libelf-dev libddcutil-dev rpm ninja-build

- name: install linuxbrew packages
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/home/linuxbrew/.linuxbrew/bin/brew install imagemagick chafa --ignore-dependencies

- name: Initialize CodeQL
if: inputs.arch == 'amd64'
uses: github/codeql-action/init@v4
with:
languages: c

- name: configure project
run: CC=gcc-13 PKG_CONFIG_PATH=/home/linuxbrew/.linuxbrew/lib/pkgconfig:$PKG_CONFIG_PATH cmake -GNinja -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On -DCMAKE_INSTALL_PREFIX=/usr .

- name: build project
run: cmake --build . --target package --verbose -j4

- name: perform CodeQL analysis
if: inputs.arch == 'amd64'
uses: github/codeql-action/analyze@v4

- name: list features
run: ./fastfetch --list-features

- name: run fastfetch
run: time ./fastfetch -c presets/ci.jsonc --stat false

- name: run fastfetch --format json
run: time ./fastfetch -c presets/ci.jsonc --format json

- name: run flashfetch
run: time ./flashfetch

- name: print dependencies
run: ldd fastfetch

- name: run tests
run: ctest --output-on-failure

- name: get fastfetch version
id: ffversion
run: echo "ffversion=$(./fastfetch --version-raw)" >> $GITHUB_OUTPUT

- name: polyfill glibc
run: |
wget https://github.com/CarterLi/polyfill-glibc/releases/download/v0.0.1/polyfill-glibc-${{ inputs.arch }} -O polyfill-glibc
chmod +x polyfill-glibc
strip fastfetch && ./polyfill-glibc fastfetch --target-glibc=2.17
strip flashfetch && ./polyfill-glibc flashfetch --target-glibc=2.17
echo 'set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}-polyfilled")' >> CPackConfig.cmake
echo 'set(CPACK_PACKAGE_RELOCATABLE OFF)' >> CPackConfig.cmake
echo 'set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.17)")' >> CPackConfig.cmake
echo 'set(CPACK_RPM_SPEC_MORE_DEFINE "%global __os_install_post %{nil}")' >> CPackConfig.cmake
cpack -V

- name: upload artifacts
uses: actions/upload-artifact@v7
with:
name: fastfetch-linux-${{ inputs.arch }}
path: ./fastfetch-*.*
Loading