Commit 96224a89 authored by CatSema's avatar CatSema Committed by Vitaly Lipatov

epm play: nekoray: fix icon

parent dc3d4104
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
# It will be run with two args: buildroot spec # It will be run with two args: buildroot spec
BUILDROOT="$1" BUILDROOT="$1"
SPEC="$2" SPEC="$2"
if [ -f $BUILDROOT/opt/nekoray/nekoray ] if [ -f $BUILDROOT/opt/nekoray/nekoray ]; then
then
PRODUCT=nekoray PRODUCT=nekoray
else else
PRODUCT=nekobox PRODUCT=nekobox
...@@ -17,12 +16,12 @@ add_bin_link_command ...@@ -17,12 +16,12 @@ add_bin_link_command
add_libs_requires add_libs_requires
cat <<EOF |create_file /usr/share/applications/$PRODUCT.desktop cat <<EOF | create_file /usr/share/applications/$PRODUCT.desktop
[Desktop Entry] [Desktop Entry]
Name=Nekoray Name=Nekoray
Comment=Qt based cross-platform GUI proxy configuration manager (backend: Xray / sing-box) Comment=Qt based cross-platform GUI proxy configuration manager (backend: Xray / sing-box)
Exec=$PRODUCT -- %u -appdata Exec=$PRODUCT -- %u -appdata
Icon=/opt/$PRODUCT/$PRODUCT.png Icon=$PRODUCTDIR/$PRODUCT.png
Type=Application Type=Application
Terminal=false Terminal=false
Categories=Network; Categories=Network;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment