forked from sergiotarxz/mangareader
Fixing icon not being exported by default while using flatpak.
This commit is contained in:
parent
0dc8040a16
commit
170a27abe6
@ -14,9 +14,9 @@ on `meson_options.txt`
|
||||
|
||||
```shell
|
||||
flatpak --user remote-add --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
|
||||
flatpak install org.gnome.Sdk//master
|
||||
flatpak install org.gnome.Platform//master
|
||||
flatpak-builder --install --user build me.sergiotarxz.openmg.yml me.sergiotarxz.openmg
|
||||
flatpak --user install org.gnome.Sdk//master
|
||||
flatpak --user install org.gnome.Platform//master
|
||||
flatpak-builder --install --user build me.sergiotarxz.openmg.json me.sergiotarxz.openmg
|
||||
|
||||
```
|
||||
|
||||
|
@ -4,7 +4,7 @@ GenericName=Manga Reader
|
||||
Comment=A manga reader
|
||||
Comment[es]=A manga reader
|
||||
Exec=openmg
|
||||
Icon=openmg
|
||||
Icon=me.sergiotarxz.openmg
|
||||
Type=Application
|
||||
Terminal=false
|
||||
StartupWMClass=openmg
|
||||
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
@ -1,4 +1,4 @@
|
||||
project('openmg', 'c')
|
||||
project('me.sergiotarxz.openmg', 'c')
|
||||
|
||||
inc = include_directories('include')
|
||||
|
||||
@ -56,12 +56,12 @@ icon_sizes = ['16', '24', '32', '48', '64', '128']
|
||||
|
||||
foreach i : icon_sizes
|
||||
install_data(
|
||||
'openmg.svg',
|
||||
'me.sergiotarxz.openmg.svg',
|
||||
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i / 'apps',
|
||||
rename: meson.project_name() + '.svg'
|
||||
)
|
||||
install_data(
|
||||
'openmg.svg',
|
||||
'me.sergiotarxz.openmg.svg',
|
||||
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i + '@2' / 'apps',
|
||||
rename: meson.project_name() + '.svg'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user