diff --git a/CMakeLists.txt b/CMakeLists.txt index d060b67..5a3a9c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/dist/net.blumia.pineapple-pictures.desktop b/dist/net.blumia.pineapple-pictures.desktop index 064263d..74ce6a7 100644 --- a/dist/net.blumia.pineapple-pictures.desktop +++ b/dist/net.blumia.pineapple-pictures.desktop @@ -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