From feec272d1f3c15ff710faad9f6c8644ec5835cf0 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 27 Nov 2018 10:11:28 +0100 Subject: [PATCH] Use the correct key `app-id` instead of `id`. --- kiwixbuild/flatpak_builder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiwixbuild/flatpak_builder.py b/kiwixbuild/flatpak_builder.py index b37bd46..53052cb 100644 --- a/kiwixbuild/flatpak_builder.py +++ b/kiwixbuild/flatpak_builder.py @@ -26,7 +26,7 @@ import json from shutil import copyfile MANIFEST = { - 'id': 'org.kiwix.Client', + 'app-id': 'org.kiwix.Client', 'runtime': 'org.kde.Platform', 'runtime-version': '5.11', 'sdk': 'org.kde.Sdk', @@ -217,7 +217,7 @@ class FlatpakBuilder: log = pj(self.platform.buildEnv.log_dir, 'cmd_bundle_flatpak.log') context = Context('bundle', log, False) command = "flatpak build-bundle repo {id}.flatpak {id}" - command = command.format(id = self.target.flatpak['manifest']['id']) + command = command.format(id = MANIFEST['app-id']) try: run_command(command, self.platform.buildEnv.build_dir, context, self.platform.buildEnv) context._finalise()