mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-07 14:15:58 +08:00
同步dev
This commit is contained in:
parent
0ac6c90629
commit
01b04286a6
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,9 +1,8 @@
|
|||||||
spark-store (4.3.0-fix5) stable; urgency=medium
|
spark-store (4.3.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
* 支持GXDE,重启空链接清理
|
* 修复自提权更新问题
|
||||||
|
|
||||||
-- shenmo <shenmo@spark-app.store> Sun, 5 Mar 2022 11:45:14 +0800
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||||
|
|
||||||
|
|
||||||
spark-store (4.3.0-fix2) stable; urgency=medium
|
spark-store (4.3.0-fix2) stable; urgency=medium
|
||||||
|
@ -4,15 +4,15 @@
|
|||||||
<policyconfig>
|
<policyconfig>
|
||||||
<vendor>Spark Store</vendor>
|
<vendor>Spark Store</vendor>
|
||||||
<icon_name>x-package-repository</icon_name>
|
<icon_name>x-package-repository</icon_name>
|
||||||
<action id="store.spark-app.ss-do-upgrade-worker">
|
<action id="store.spark-app.ss-do-upgrade">
|
||||||
<description>运行ss-do-upgrade-worker需要权限</description>
|
<description>运行ss-do-upgrade需要权限</description>
|
||||||
<message>要使用ss-do-upgrade-worker需要权限</message>
|
<message>要使用ss-do-upgrade需要权限</message>
|
||||||
<defaults>
|
<defaults>
|
||||||
<allow_any>yes</allow_any>
|
<allow_any>yes</allow_any>
|
||||||
<allow_inactive>yes</allow_inactive>
|
<allow_inactive>yes</allow_inactive>
|
||||||
<allow_active>yes</allow_active>
|
<allow_active>yes</allow_active>
|
||||||
</defaults>
|
</defaults>
|
||||||
<annotate key="org.freedesktop.policykit.exec.path">/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh</annotate>
|
<annotate key="org.freedesktop.policykit.exec.path">/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade.sh</annotate>
|
||||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||||
</action>
|
</action>
|
||||||
</policyconfig>
|
</policyconfig>
|
@ -46,7 +46,7 @@ desktop.path = /usr/share/applications/
|
|||||||
service.files += pkg/usr/lib/systemd/system/spark-update-notifier.service
|
service.files += pkg/usr/lib/systemd/system/spark-update-notifier.service
|
||||||
service.path = /lib/systemd/system/
|
service.path = /lib/systemd/system/
|
||||||
|
|
||||||
polkit-1.files += pkg/usr/share/polkit-1/actions/store.spark-app.ss-do-upgrade-worker.policy
|
polkit-1.files += pkg/usr/share/polkit-1/actions/*
|
||||||
polkit-1.path = /usr/share/polkit-1/actions/
|
polkit-1.path = /usr/share/polkit-1/actions/
|
||||||
|
|
||||||
icon.files += pkg/usr/share/icons
|
icon.files += pkg/usr/share/icons
|
||||||
|
@ -1,8 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
if [ "$(id -u)" != "0" ] ; then
|
||||||
|
pkexec "$0" "$@"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
|
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
|
||||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||||
load_transhell_debug
|
load_transhell_debug
|
||||||
|
|
||||||
|
|
||||||
function get_name_from_desktop_file() {
|
function get_name_from_desktop_file() {
|
||||||
local app_name_in_desktop
|
local app_name_in_desktop
|
||||||
local name_orig
|
local name_orig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user