associated .hct and .zct files with ZoiteChat for easy Theme importation like there was in the Theme Manager that was removed.

This commit is contained in:
2026-01-16 19:34:18 -07:00
parent f480366c87
commit b1fc133883
6 changed files with 43 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
appdir = join_paths(get_option('datadir'), 'applications')
metainfodir = join_paths(get_option('datadir'), 'metainfo')
mimedir = join_paths(get_option('datadir'), 'mime', 'packages')
desktop_utils = find_program('desktop-file-validate', required: false)
if get_option('gtk-frontend')
@@ -42,6 +43,10 @@ if get_option('gtk-frontend')
install_dir: appdir
)
install_data('net.zoite.Zoitechat.mime.xml',
install_dir: mimedir
)
if desktop_utils.found()
test('Validate net.zoite.Zoitechat.desktop', desktop_utils,
args: [zoitechat_desktop]