Add the README, screenshots, legacy CI moved to manual, cleanups

Root README for the new layout; legacy/README.md points back. Legacy Gitea and
GitHub workflows run only by hand from legacy/ and the Gitea one does not
publish unless asked. Fix compiler warnings.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-23 01:12:48 +00:00
1 parent 17f81c60c8
commit 5258ac22ad
16 files changed
+175 -26

No files matched your search

+7 -1
View File
@@ -2,7 +2,8 @@
# Tests the Qt launcher (qt/), builds its APK and publishes it as a Gitea release:
# build-<versionCode>, holding ultra-launcher.apk and version.json, made a draft first
# and published once both files are up, so the latest release never lacks them.
# Runs in .gitea/workflows/launcher.yml's "apk" job (JDK 17 container, as root).
# Runs in .gitea/workflows/legacy.yml (JDK 17 container, as root), from legacy/; publishes only
# when LEGACY_PUBLISH=true, so it does not compete with the MoonBit build's releases.
set -euo pipefail
cd "$(dirname "$0")/.."
@@ -56,6 +57,11 @@ test -n "$apk" || { find build-android -name "*.apk"; exit 1; }
cp "$apk" ultra-launcher.apk
printf '{"versionCode": %s, "commit": "%s"}\n' "$VERSION_CODE" "$COMMIT" > version.json
if [ "${LEGACY_PUBLISH:-false}" != "true" ]; then
echo "built legacy/ultra-launcher.apk; not publishing (LEGACY_PUBLISH != true)"
exit 0
fi
echo "== release build-$VERSION_CODE"
server="${GITHUB_SERVER_URL:-https://git.site.latha.org}"
repo="${GITHUB_REPOSITORY:-experiments/launcher}"