fix: app icon install location and file name under Linux
This commit is contained in:
parent
0e1ec979cf
commit
d80c661c66
|
@ -210,8 +210,8 @@ elseif (UNIX)
|
|||
# install icon
|
||||
install (
|
||||
FILES assets/icons/app-icon.svg
|
||||
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/48x48/apps"
|
||||
RENAME pineapple-pictures.svg
|
||||
DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps"
|
||||
RENAME net.blumia.pineapple-pictures.svg
|
||||
)
|
||||
|
||||
# install shortcut
|
||||
|
|
2
dist/net.blumia.pineapple-pictures.desktop
vendored
2
dist/net.blumia.pineapple-pictures.desktop
vendored
|
@ -5,7 +5,7 @@ Comment[zh_CN]=菠萝看图是一个轻量级的图像查看器
|
|||
Exec=ppic %F
|
||||
GenericName=Image Viewer
|
||||
GenericName[zh_CN]=图像查看器
|
||||
Icon=pineapple-pictures
|
||||
Icon=net.blumia.pineapple-pictures
|
||||
Keywords=Picture;Image;Viewer;Jpg;Jpeg;Png;
|
||||
MimeType=image/bmp;image/bmp24;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tif;image/tiff;image/tiff24;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/wdp;image/arw;image/icb;image/dng;image/vda;image/vst;image/svg;image/ptif;image/mef;image/xbm;image/svg+xml;
|
||||
Name=Pineapple Pictures
|
||||
|
|
Loading…
Reference in New Issue
Block a user