summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-08-27 23:00:51 +0800
committertranch <tranch.xiao@gmail.com>2026-08-27 23:00:51 +0800
commit258e7422812b1a18f75c5a48030c64ccb16766ba (patch)
treed2fd24f5c864ab1ce661683e7821002b373dcda9
parente4608f18bc3a5ad307e1a1deaa7ac0048d03f991 (diff)
downloadAeroCore-OS-258e7422812b1a18f75c5a48030c64ccb16766ba.tar.gz
AeroCore-OS-258e7422812b1a18f75c5a48030c64ccb16766ba.zip
fix: replace About System logo symlink
Ensure KDE About System uses the AeroCore asset in both payload and live installer builds.
-rwxr-xr-xbuild_files/build.sh7
-rwxr-xr-xinstaller/build.sh9
-rwxr-xr-xtests/test-desktop-branding-migration.sh7
3 files changed, 23 insertions, 0 deletions
diff --git a/build_files/build.sh b/build_files/build.sh
index b4acb10..916e29d 100755
--- a/build_files/build.sh
+++ b/build_files/build.sh
@@ -46,6 +46,13 @@ install_regular_file \
"/ctx/system_files/usr/share/pixmaps/bazzite-logo-le.svg" \
"/usr/share/icons/hicolor/scalable/apps/aerocore-logo.svg"
+# KDE's About System KCM loads this path from kcm-about-distrorc. The base
+# image may provide it as a symlink, so replace the directory entry itself or
+# the KCM can continue rendering the upstream Bazzite logo.
+install_regular_file \
+ "/ctx/system_files/usr/share/pixmaps/system-logo-white.png" \
+ "/usr/share/pixmaps/system-logo-white.png"
+
# Game Mode's Vapor splash asset is an upstream symlink on current Bazzite
# images, while VGUI is a regular file. Replace both exact paths explicitly.
for look_and_feel in com.valve.vapor.desktop com.valve.vgui.desktop; do
diff --git a/installer/build.sh b/installer/build.sh
index e027bd6..1920085 100755
--- a/installer/build.sh
+++ b/installer/build.sh
@@ -45,6 +45,15 @@ if [[ -d /src/system_files ]]; then
cp -a /src/system_files/. /
fi
+# The live base can already contain this About System asset as a symlink.
+# Replace the link itself so the installer UI also renders AeroCore branding.
+if [[ -f /src/system_files/usr/share/pixmaps/system-logo-white.png ]]; then
+ rm -f /usr/share/pixmaps/system-logo-white.png
+ install -Dm0644 \
+ /src/system_files/usr/share/pixmaps/system-logo-white.png \
+ /usr/share/pixmaps/system-logo-white.png
+fi
+
BRANDING_DIR="${SCRIPT_DIR}/branding"
if [[ -d "${BRANDING_DIR}" ]]; then
mkdir -p /usr/share/anaconda/pixmaps
diff --git a/tests/test-desktop-branding-migration.sh b/tests/test-desktop-branding-migration.sh
index 23ebdd2..4948b39 100755
--- a/tests/test-desktop-branding-migration.sh
+++ b/tests/test-desktop-branding-migration.sh
@@ -48,4 +48,11 @@ for path in \
grep -Fq "${path}" "${repo_root}/build_files/build.sh"
done
+# The About System logo may be a symlink in the Bazzite base image. Both image
+# build paths must explicitly replace that directory entry with AeroCore's PNG.
+grep -Fq '"/usr/share/pixmaps/system-logo-white.png"' \
+ "${repo_root}/build_files/build.sh"
+grep -Fq 'rm -f /usr/share/pixmaps/system-logo-white.png' \
+ "${repo_root}/installer/build.sh"
+
echo "Desktop branding migration fixture passed"