修复自提权更新问题

This commit is contained in:
2024-09-24 11:27:53 +08:00
parent 0380bc4a05
commit 9e7e957f4f
6 changed files with 16 additions and 8 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/bash
if [ "$(id -u)" != "0" ] ; then
pkexec "$0" "$@"
exit
fi
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
load_transhell_debug