From 3ac6717933c1332ae6e9554a78743a4caf0eed3f Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 22 Apr 2022 23:59:31 +0200 Subject: [PATCH] Fixing in-app changelog. --- eu.ad5001.LogarithmPlotter.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index 756cc59..5c8de3c 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -58,15 +58,16 @@ "build-options": { "env": { "MIME_PATH": "/app/share/mime/packages", - "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes" + "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes", + "CHANGELOG_PATH": "" } }, "build-commands": [ "rm -rf .git", "cd LogarithmPlotter/i18n && bash release.sh", "mv eu.ad5001.LogarithmPlotter.metainfo.xml linux/eu.ad5001.LogarithmPlotter.metainfo.flatpak.xml # Add metainfo file from current repository.", - "cp CHANGELOG.md LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached.", - "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app" + "PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app", + "cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached." ], "post-install": [ "mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",