1c-connect.sh 486 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh -x

# It will be run with two args: buildroot spec
BUILDROOT="$1"
SPEC="$2"

. $(dirname $0)/common.sh

add_bin_cdexec_command $PRODUCT $PRODUCTDIR/app/bin/connect

install_file $PRODUCTDIR/app/bin/ico-app.png /usr/share/pixmaps/$PRODUCT.png

Vitaly Lipatov's avatar
Vitaly Lipatov committed
13
cat <<EOF |create_file /usr/share/applications/$PRODUCT.desktop
14 15 16 17 18 19 20 21 22 23
[Desktop Entry]
Version=1.0
Name=1C Connect
Comment=1C Connect
Exec=$PRODUCT -- %u
Icon=$PRODUCT
Type=Application
Categories=Network;
X-GNOME-UsesNotifications=true
EOF