aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;