time-shutdown/add_desktop_file.patch
2022-03-04 15:11:59 +08:00

19 lines
734 B
Diff

diff -Naur time-shutdown-1.1.1/time-shutdown.pro time-shutdown-1.1.1~/time-shutdown.pro
--- time-shutdown-1.1.1/time-shutdown.pro 2021-11-04 16:30:10.000000000 +0800
+++ time-shutdown-1.1.1~/time-shutdown.pro 2022-03-04 14:27:52.702298450 +0800
@@ -42,11 +42,11 @@
schemes.files += data/org.ukui.time.shutdown.settings.gschema.xml
schemes.path = /usr/share/glib-2.0/schemas/
-#desktopfile.files = data/ukui-time-shotdown.desktop
-#desktopfile.path = /usr/share/applications/
+desktopfile.files = data/ukui-time-shotdown.desktop
+desktopfile.path = /usr/share/applications/
target.path = /usr/bin/
-INSTALLS += target schemes translation
+INSTALLS += target schemes translation desktopfile
# Default rules for deployment.