diff --git a/0003-add-X-UKUI-AutoRestart-filed-in-desktop.patch b/0003-add-X-UKUI-AutoRestart-filed-in-desktop.patch new file mode 100644 index 0000000..b54e77f --- /dev/null +++ b/0003-add-X-UKUI-AutoRestart-filed-in-desktop.patch @@ -0,0 +1,21 @@ +From c551c81279de6ea2d9494f304d385d12377ab006 Mon Sep 17 00:00:00 2001 +From: peijiankang +Date: Fri, 24 Jun 2022 15:00:07 +0800 +Subject: [PATCH] add X-UKUI-AutoRestart filed in desktop + +--- + indicator-china-weather.desktop | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/indicator-china-weather.desktop b/indicator-china-weather.desktop +index ab54ec1..1dbd4d3 100644 +--- a/indicator-china-weather.desktop ++++ b/indicator-china-weather.desktop +@@ -14,3 +14,4 @@ Terminal=false + Type=Application + X-GNOME-Autostart-Delay=10 + Categories=GNOME;Utility; ++X-UKUI-AutoRestart=true; +-- +2.33.0 + diff --git a/indicator-china-weather.spec b/indicator-china-weather.spec index ea971ca..8ebe9c3 100644 --- a/indicator-china-weather.spec +++ b/indicator-china-weather.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: indicator-china-weather Version: 3.1.0 -Release: 9 +Release: 10 Summary: The weather data are from the heweather API s6 version. License: GPL-3.0+ URL: https://github.com/UbuntuKylin/indicator-china-weather @@ -24,6 +24,7 @@ BuildRequires: GeoIP-devel patch0: fix-gsetting-issue.patch patch1: fix-auto-get-location.patch patch2: 0002-Modified-kylin-weather-display-is-incomplete.patch +patch3: 0003-add-X-UKUI-AutoRestart-filed-in-desktop.patch %description Indicator that displays China weather information @@ -67,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/man/man1/indicator-china-weather.1.gz %changelog +* Fri Jun 24 2022 peijiankang - 3.1.0-10 +- add-X-UKUI-AutoRestart filed in desktop + * Fri Jun 24 2022 peijiankang - 3.1.0-9 - Modified kylin-weather display is incomplete