Skip to content

Commit

Permalink
Update meson.build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vysp3r committed Nov 12, 2023
1 parent 4a4079c commit 51097a0
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ subdir('icons')
subdir('images')

#
install_data(
join_paths('logo', 'com.vysp3r.ProtonPlus.svg'),
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons', 'hicolor', '32x32', 'apps'),
rename: meson.project_name() + '.svg'
)

install_data(
join_paths('logo', 'com.vysp3r.ProtonPlus.svg'),
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons', 'hicolor', '32x32' + '@2', 'apps'),
rename: meson.project_name() + '.svg'
)
icon_sizes = ['32', '48', '64', '128']
foreach i : icon_sizes
install_data(
join_paths('logo', 'com.vysp3r.ProtonPlus.svg'),
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons', 'hicolor', i + 'x' + i, 'apps'),
rename: meson.project_name() + '.svg'
)

install_data(
join_paths('logo', 'com.vysp3r.ProtonPlus.svg'),
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'icons', 'hicolor', i + 'x' + i + '@2', 'apps'),
rename: meson.project_name() + '.svg'
)
endforeach

#
desktop_file = i18n.merge_file(
Expand Down

0 comments on commit 51097a0

Please sign in to comment.