aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2018-01-24 18:42:56 +0100
committerPapoteur <papoteur@mageia.org>2018-01-24 18:42:56 +0100
commitf4dd34b14cd91fe7381b008590f5598e36fb58c8 (patch)
treed6c11b60e0a229aadadc433e00a2ca3f1ba0c32e
parentcb58436022ff01f2a8ef41f3dccd1b2602b31f17 (diff)
downloadisodumper-f4dd34b14cd91fe7381b008590f5598e36fb58c8.tar
isodumper-f4dd34b14cd91fe7381b008590f5598e36fb58c8.tar.gz
isodumper-f4dd34b14cd91fe7381b008590f5598e36fb58c8.tar.bz2
isodumper-f4dd34b14cd91fe7381b008590f5598e36fb58c8.tar.xz
isodumper-f4dd34b14cd91fe7381b008590f5598e36fb58c8.zip
Add an entry in menu for formatting USB
-rw-r--r--Makefile6
-rw-r--r--share/applications/format-usb.desktop.in8
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3fa8381..b232a6a 100644
--- a/Makefile
+++ b/Makefile
@@ -85,11 +85,17 @@ install:
install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
sed -i -e "s|Name=IsoDumper|Name=IsoDumper (Qt)|" $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
sed -i -e "s|Exec=isodumper|Exec=isodumper --qt|" $(DESTDIR)$(DATADIR)/applications/isodumper-qt.desktop
+ install -m 644 share/applications/format-usb.desktop $(DESTDIR)$(DATADIR)/applications/format-usb-qt.desktop
+ sed -i -e "s|Name=Format USB devices|Name=Format USB devices (Qt)|" $(DESTDIR)$(DATADIR)/applications/format-usb-qt.desktop
+ sed -i -e "s|Exec=isodumper|Exec=isodumper --qt|" $(DESTDIR)$(DATADIR)/applications/format-usb-qt.desktop
# for isodumper-gtk desktop menu entry
install -m 644 share/applications/isodumper.desktop $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
sed -i -e "s|Name=IsoDumper|Name=IsoDumper (GTK)|" $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
sed -i -e "s|Exec=isodumper|Exec=isodumper --gtk|" $(DESTDIR)$(DATADIR)/applications/isodumper-gtk.desktop
+ install -m 644 share/applications/format-usb.desktop $(DESTDIR)$(DATADIR)/applications/format-usb-gtk.desktop
+ sed -i -e "s|Name=Format USB devices|Name=Format USB devices (GTK)|" $(DESTDIR)$(DATADIR)/applications/format-usb-gtk.desktop
+ sed -i -e "s|Exec=isodumper|Exec=isodumper --gtk|" $(DESTDIR)$(DATADIR)/applications/format-usb-gtk.desktop
# for isodumper doc
mkdir -p $(DESTDIR)$(DOCDIR)
diff --git a/share/applications/format-usb.desktop.in b/share/applications/format-usb.desktop.in
new file mode 100644
index 0000000..0652c74
--- /dev/null
+++ b/share/applications/format-usb.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Format USB devices
+_Comment=A GUI tool to format USB sticks
+Exec=isodumper
+Icon=isodumper.png
+Type=Application
+Terminal=false
+Categories=System;