!108 在检测更新时临时降低优先级到100,防止系统中有且版本一致的包被反复来回更新

* changelog更新
* 修复界面中显示的更新检测服务是否启动不正确
* 在检测更新时临时降低优先级到100,防止系统中有且版本一致的包被反复来回更新
This commit is contained in:
2022-08-29 17:58:39 +00:00
parent 932e754b88
commit d3987a20ec
3 changed files with 18 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ endloop=0
#####################检测是否启动过了更新检测工具
while [ $endloop -eq 0 ] ;do
if [ -f /etc/xdg/autostart/spark-update-notifier.desktop ];then
if [ -e /etc/systemd/system/multi-user.target.wants/spark-update-notifier.service ];then
text_update_open="关闭"
#已经开启了就显示关闭
else