Install icon to the app_id location

This is so that the desktop files picks it up correctly.

Thanks, @WhyNotHugo and @jbeich.
This commit is contained in:
somini 2021-12-27 12:19:58 +00:00 committed by somini
parent a9aa7472e3
commit f4cf935e49
No known key found for this signature in database
GPG Key ID: 2B21E7CA6F6A8FD4
1 changed files with 6 additions and 3 deletions

View File

@ -36,9 +36,12 @@ if scour.found()
'@INPUT@', '@OUTPUT@'],
install: true,
install_dir: icondir)
else
install_data(icon, install_dir: icondir)
endif
else
install_data(icon,
rename: '@0@.svg'.format(meson.project_name()),
install_dir: icondir
)
endif
install_data(
configure_file(input: 'wdisplays.desktop.in',