Skip to content

Commit

Permalink
Added menu file in deb package
Browse files Browse the repository at this point in the history
  • Loading branch information
uglide committed Sep 27, 2013
1 parent ea81d1b commit e39bb4a
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build/debian/menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
?package(redis-desktop-manager): needs=X11 \
section=Applications/Development \
title=RedisDesktopManager command=/usr/share/redis-desktop-manager/bin/rdm \
icon=/usr/share/redis-desktop-manager/bin/rdm.png
10 changes: 10 additions & 0 deletions redis-desktop-manager/rdm.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Name=Redis Desktop Manager
Comment=Redis Desktop Manager
Type=Application
Categories=Development;
Exec=/usr/share/redis-desktop-manager/bin/rdm
Terminal=false
StartupNotify=true
Icon=/usr/share/redis-desktop-manager/bin/rdm.png
Binary file added redis-desktop-manager/rdm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 7 additions & 2 deletions redis-desktop-manager/redis-desktop-manager.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
#-------------------------------------------------

QT += core gui network xml
QT += core gui network xml dbus

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

Expand Down Expand Up @@ -99,8 +99,13 @@ unix:!mac {
}

target.path = /usr/share/redis-desktop-manager/bin
target.files = $$DESTDIR/rdm qt.conf
target.files = $$DESTDIR/rdm qt.conf rdm.png
INSTALLS += target

deskicon.path = /usr/share/applications
deskicon.files = rdm.desktop
INSTALLS += deskicon

data.path = /usr/share/redis-desktop-manager/lib
data.files = lib/*
INSTALLS += data
Expand Down

0 comments on commit e39bb4a

Please sign in to comment.