Skip to content
Snippets Groups Projects
Commit 72bf7248 authored by JennaHuntsman's avatar JennaHuntsman
Browse files

Fix oversight in desktop file naming to account for channel names.

parent 5ea19887
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ desktopfile ...@@ -57,7 +57,7 @@ desktopfile
print "Installing menu entries via XDG..." print "Installing menu entries via XDG..."
xdg-icon-resource install --novendor --size 256 "${install_prefix}/${VIEWERNAME,,}_icon.png" ${VIEWERNAME}-Viewer xdg-icon-resource install --novendor --size 256 "${install_prefix}/${VIEWERNAME,,}_icon.png" ${VIEWERNAME}-Viewer
#NOTE: Above command takes the path to the icon to install && The name of the icon to be used by XDG. This should always be in the format of "x-Viewer" to avoid potential naming conflicts, as per XDG spec. #NOTE: Above command takes the path to the icon to install && The name of the icon to be used by XDG. This should always be in the format of "x-Viewer" to avoid potential naming conflicts, as per XDG spec.
xdg-desktop-menu install --novendor "${installation_prefix}"/${VIEWERNAME,,}-viewer.desktop xdg-desktop-menu install --novendor "${installation_prefix}"/${VIEWERNAME,,}-${CHANNELNAME}-viewer.desktop
} }
if [ "$UID" == "0" ]; then if [ "$UID" == "0" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment