Update flatpak_builder to new version of kiwix-desktop
- app-id is now ork.kiwix.desktop - No need to rename the desktop-file - `--filesystem=xdg-data` is useless.
This commit is contained in:
parent
c0c907bb92
commit
2980075ce0
|
@ -26,12 +26,11 @@ import json
|
|||
from shutil import copyfile
|
||||
|
||||
MANIFEST = {
|
||||
'app-id': 'org.kiwix.Client',
|
||||
'app-id': 'org.kiwix.desktop',
|
||||
'runtime': 'org.kde.Platform',
|
||||
'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',
|
||||
|
@ -40,7 +39,6 @@ MANIFEST = {
|
|||
'--share=ipc',
|
||||
'--device=dri',
|
||||
'--socket=pulseaudio',
|
||||
'--filesystem=xdg-data',
|
||||
],
|
||||
'cleanup': [
|
||||
'/include',
|
||||
|
|
|
@ -115,8 +115,8 @@ def create_desktop_image():
|
|||
src_dir = SOURCE_DIR/'kiwix-desktop'
|
||||
|
||||
if PLATFORM == 'flatpak':
|
||||
build_path = BASE_DIR/'org.kiwix.Client.flatpak'
|
||||
app_name = 'org.kiwix.Client.{}.flatpak'.format(postfix)
|
||||
build_path = BASE_DIR/'org.kiwix.desktop.flatpak'
|
||||
app_name = 'org.kiwix.desktop.{}.flatpak'.format(postfix)
|
||||
else:
|
||||
build_path = HOME/'Kiwix-x86_64.AppImage'
|
||||
app_name = "kiwix-desktop_x86_64_{}.appimage".format(postfix)
|
||||
|
|
Loading…
Reference in New Issue