try fix: Can not show window on pkexec

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2024-11-14 10:05:25 +00:00
committed by Gitee
parent 2eb5cd9836
commit 6272bd6178

View File

@@ -7,6 +7,7 @@ if [ "$(id -u)" != "0" ] ; then
exit exit
fi fi
fi fi
xhost +
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