Move the prebuilt macOS icon to data/icons

This commit is contained in:
Hugo Holgersson 2022-09-02 14:27:42 +02:00 committed by Romain Failliot
parent c4869e15cb
commit e8a7abb679
3 changed files with 4 additions and 2 deletions

View File

@ -11,3 +11,7 @@ install_data(
join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)), join_paths(symbolic_dir, ('@0@-symbolic.svg').format(application_id)),
install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir) install_dir: join_paths(get_option('datadir'), 'icons', symbolic_dir)
) )
if build_machine.system() == 'darwin'
install_data('diffuse.icns', install_dir: '/Applications/Diffuse.app/Contents/Resources')
endif

View File

@ -20,8 +20,6 @@ configure_file(
) )
if build_machine.system() == 'darwin' if build_machine.system() == 'darwin'
install_subdir('mac-os-app/Diffuse.app', install_dir: '/Applications', strip_directory: false)
configure_file( configure_file(
input: 'mac-os-app/diffuse-mac.in', input: 'mac-os-app/diffuse-mac.in',
output: 'diffuse', output: 'diffuse',