Fixed partial release notes window size

This commit is contained in:
XargonWan 2023-08-23 09:09:42 +02:00
parent 34c885faf6
commit 4451625531

View file

@ -169,10 +169,13 @@ changelog_dialog() {
else
local version_changelog=$(xml sel -t -m "//release[@version='$1']/description" -v . -n $rd_appdata | tr -s '\n' | sed 's/^\s*//')
zenity --icon-name=net.retrodeck.retrodeck --info --no-wrap \
echo -e "In RetroDECK version $1, the following changes were made:\n$version_changelog" > "/var/config/retrodeck/changelog-partial.txt"
$version_changelog >> "/var/config/retrodeck/changelog-partial.txt"
zenity --icon-name=net.retrodeck.retrodeck --text-info --width=1200 --height=720 \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title "RetroDECK Changelogs" \
--text="In RetroDECK version $1, the following changes were made:\n$version_changelog"
--filename="/var/config/retrodeck/changelog-partial.txt"
fi
}