fix(flathub): fix releases notes (#2494)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#
|
||||
# Arguments:
|
||||
# json_file: Path to JSON file (default: releases.json)
|
||||
# xml_file: Path to XML file (default: com.bilingify.readest.appdata.xml)
|
||||
# xml_file: Path to XML file (default: appdata.xml)
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
@@ -42,7 +42,7 @@ fi
|
||||
|
||||
# Parse arguments
|
||||
JSON_FILE="${1:-releases.json}"
|
||||
XML_FILE="${2:-com.bilingify.readest.appdata.xml}"
|
||||
XML_FILE="${2:-appdata.xml}"
|
||||
|
||||
# Validate input files
|
||||
if [ ! -f "$JSON_FILE" ]; then
|
||||
@@ -95,7 +95,7 @@ RELEASE_COUNT=$(jq '.releases | length' "$JSON_FILE")
|
||||
echo " Found $RELEASE_COUNT releases"
|
||||
|
||||
jq -r '
|
||||
.releases | to_entries | sort_by(.key) | reverse | .[0:10] | .[] |
|
||||
.releases | to_entries | .[0:10] | .[] |
|
||||
" <release version=\"\(.key)\" date=\"\(.value.date)\">
|
||||
<description>
|
||||
<ul>
|
||||
|
||||
@@ -117,16 +117,6 @@
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.9.9" date="2025-02-06">
|
||||
<description>
|
||||
<ul>
|
||||
<li>Load system fonts list at runtime on desktop</li>
|
||||
<li>Incrementally load new books in synchronization</li>
|
||||
<li>Change voice language dynamically by detecting text language</li>
|
||||
<li>Various fixes and enhancements on sync, fonts and highlighting</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.9.88" date="2025-10-18">
|
||||
<description>
|
||||
<ul>
|
||||
@@ -189,6 +179,17 @@
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="0.9.81" date="2025-09-19">
|
||||
<description>
|
||||
<ul>
|
||||
<li>TTS: Added desktop common media control support when TTS is playing</li>
|
||||
<li>PDF: Disabled swipe-up gesture for toggling the action bar when zoomed in</li>
|
||||
<li>Fonts: Fixed an issue where embedded fonts in ebooks were occasionally not applied</li>
|
||||
<li>Reader: Fixed an issue where newly created highlights sometimes would not appear</li>
|
||||
<li>Reader: Enabled scrolling in the menu when the menu is too long</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
</releases>
|
||||
|
||||
<metadata_license>FSFAP</metadata_license>
|
||||
@@ -0,0 +1 @@
|
||||
b0de8fc1e10f91a73b5e4f7196cf8b7853f3d71b58189076c5d25a722b1b6867 ../../data/metainfo/appdata.xml
|
||||
@@ -1 +0,0 @@
|
||||
97e7dd288e6d663437e7fa7cc21c1edd3710169b90dfa81af511077a4fe2ec0e ../../data/metainfo/com.bilingify.readest.appdata.xml
|
||||
Reference in New Issue
Block a user