Revert "修复无法弹出ACE提示的问题"

This commit is contained in:
2025-06-14 08:36:58 +00:00
parent 04dbf51d48
commit 9ff98eb33e
2 changed files with 6 additions and 4 deletions

View File

@@ -128,8 +128,9 @@ function parse_args() {
# 验证当前用户
function validate_user() {
if [ "$(id -u)" != "0" ]; then
pkexec DISPLAY=$DISPLAY "$0" "$@"
exit $?
echo "${TRANSHELL_CONTENT_PLEASE_RUN_AS_ROOT}"
echo "OMG-IT-GOES-WRONG"
exit 1
fi
}