try fix: Can not show window on pkexec

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2024-11-14 10:02:45 +00:00 committed by Gitee
parent 81aa00ff01
commit 09bc7f2867
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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