diff --git a/.github/scripts/telegram-release.sh b/.github/scripts/telegram-release.sh index b590591..3aaca3e 100755 --- a/.github/scripts/telegram-release.sh +++ b/.github/scripts/telegram-release.sh @@ -34,8 +34,9 @@ notes=$(awk -v v="## $VERSION" ' { if (item != "") print item; item = ""; gsub(/\*\*/, ""); print } END { if (item != "") print item }' CHANGELOG.md 2> /dev/null | esc || true) -# INFO: A caption holds 1024 characters, so long notes are cut at a line end. -max=560 +# INFO: A caption holds 1024 characters and the rest of it takes about 150, so +# long notes are cut at a line end. Room for an Arabic and an English list. +max=760 if [ "${#notes}" -gt "$max" ]; then notes="${notes:0:$max}" notes="${notes%$'\n'*}"$'\n'"…" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b4f6362..c0711b0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -176,6 +176,8 @@ jobs: awk -v v="## $RELEASE_VERSION" '$0 == v { f = 1; next } /^## / { f = 0 } f' CHANGELOG.md echo echo "---" + echo "**التحميل:** \`$(basename "$zip")\`، فك الضغط في أي مكان وشغّل \`FastbootStudio.exe\`. ما يحتاج تثبيت: .NET و adb و fastboot موجودة معه." + echo echo "**Download** \`$(basename "$zip")\`, unzip it anywhere and run \`FastbootStudio.exe\`. Nothing to install: .NET, adb and fastboot are included." echo echo "Full changelog: [CHANGELOG.md](https://github.com/$GITHUB_REPOSITORY/blob/$RELEASE_VERSION/CHANGELOG.md) · [README](https://github.com/$GITHUB_REPOSITORY/blob/$RELEASE_VERSION/README.md) · [العربية](https://github.com/$GITHUB_REPOSITORY/blob/$RELEASE_VERSION/README.ar.md)" diff --git a/CHANGELOG.md b/CHANGELOG.md index b3ae8a8..e57a412 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,16 @@ [العربية](#عربي) · [English](#english) - + ## v2.5.1 - إصلاح: عناصر القائمة كانت تختفي تحت الماوس والأزرار تطلع مخططة على بعض كروت الشاشة وتطبيقات التحكم عن بعد - البرنامج صار يرسم برمجياً افتراضياً، وتقدر ترجع لكرت الشاشة من صفحة «حول» +**English** +- Fixed: menu items vanished under the mouse and buttons turned striped with some graphics drivers and remote-desktop apps +- The app now draws in software by default; the graphics card can be chosen again on the About page + ## v2.5.0 - صفحة «الجوال» جديدة: مواصفات الجوال وحمايته وهو شغّال على أندرويد - تتعرف على إضافة Fastboot Studio Companion: حالة AVB من البوت لودر وتعارض المودات diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..88194b0 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,15 @@ +# Notes for Claude sessions on this repository + +## Release notes: Arabic and English +Every release's notes are written in both languages. The `## vX.Y.Z` section of +`CHANGELOG.md` is the GitHub release body and the Telegram post, so it holds: + +1. the Arabic bullets (Gulf dialect, one line each); +2. a line `**English**`; +3. the same bullets in English. + +Keep the section short: the Telegram caption fits about 760 characters of notes. + +## Commits and pull requests +They show IFOKNR only (`.claude/settings.json`): no Co-Authored-By or session lines in +commit messages or pull request descriptions.