!313 try fix: Can not show window on pkexec

Merge pull request !313 from shenmo/N/A
This commit is contained in:
shenmo 2024-11-14 10:04:54 +00:00 committed by Gitee
commit 85a7790932
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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