diff options
| author | tranch <tranch.xiao@gmail.com> | 2026-10-22 16:35:20 +0800 |
|---|---|---|
| committer | tranch <tranch.xiao@gmail.com> | 2026-10-22 16:35:20 +0800 |
| commit | 92805891f11bd9aa358247557fb432262bf17877 (patch) | |
| tree | 1e4691e6b63ba4bcc60fa468fe473a0eb937c5f5 /build_files | |
| parent | c0d886e0d1183ed544ff768a406ee9655c39900e (diff) | |
| download | AeroCore-OS-92805891f11bd9aa358247557fb432262bf17877.tar.gz AeroCore-OS-92805891f11bd9aa358247557fb432262bf17877.zip | |
feat: show mirrored testing release notestesting-44.20261022testing
Point Bazzite game mode news at the testing announcements branch so
Steam can display AeroCore OS prerelease notes without GitHub access.
Keep the upstream hook and announcement format intact.
Diffstat (limited to 'build_files')
| -rwxr-xr-x | build_files/build.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build_files/build.sh b/build_files/build.sh index 40b9efd..988b7f0 100755 --- a/build_files/build.sh +++ b/build_files/build.sh @@ -14,6 +14,19 @@ esac # Copy the contents of system_files/ of the git repo to / cp -avf "/ctx/system_files"/. / +# Keep Bazzite's game mode news hook unchanged; only switch its feed URL. +NEWS_HOOK_CONFIG=/etc/gamemode-news-hook.conf +if [[ ! -f "${NEWS_HOOK_CONFIG}" ]]; then + echo "Unable to locate game mode news hook config: ${NEWS_HOOK_CONFIG}" >&2 + exit 1 +fi +sed -i \ + 's|^github = .*|github = https://git.mirror.aerocore.com.cn/AeroCore-IO/aerocore-os-gamemode-news/plain/announcements.json?h=testing|' \ + "${NEWS_HOOK_CONFIG}" +grep -Fxq \ + 'github = https://git.mirror.aerocore.com.cn/AeroCore-IO/aerocore-os-gamemode-news/plain/announcements.json?h=testing' \ + "${NEWS_HOOK_CONFIG}" + # Bazzite's Kinoite/Plasma desktop shortcut used to start a privileged # return-to-gamemode.service. Current Bazzite invokes the user-session entry # point directly; keep the shortcut correct when the base image still ships |
