Fix the flatpak manifest.

- Rename the .desktop file and the icons for desktop integration.
- Fix finish-args for the right permissions
- Remove curl binary, not aria2c.
This commit is contained in:
Matthieu Gautier 2018-11-27 10:11:35 +01:00
parent a18c28b168
commit a3ce2e0126
1 changed files with 6 additions and 2 deletions

View File

@ -31,19 +31,23 @@ MANIFEST = {
'runtime-version': '5.11',
'sdk': 'org.kde.Sdk',
'command': 'kiwix-desktop',
'rename-desktop-file' : 'kiwix-desktop.desktop',
'rename-icon': 'kiwix-desktop',
'finish-args': [
'--socket=wayland',
'--socket=x11',
'--share=network',
'--share=ipc',
'--device=dri',
'--socket=pulseaudio'
'--socket=pulseaudio',
'--filesystem=xdg-data',
],
'cleanup': [
'/include',
'/lib/pkgconfig',
'/lib/cmake',
'/lib/*.la',
'/bin/aria2c',
'/bin/curl',
'/bin/copydatabase',
'/bin/kiwix-compile-resources',
'/bin/quest',