优化快捷方式生成方式

This commit is contained in:
2023-06-29 20:11:20 +08:00
parent 1310253f0f
commit 1f7d53bf4d
5 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ if [[ ! -f $chrootEnvPath/tmp/env-$USER.txt ]]; then
fi
command="$@"
#echo $command
pkexec env `printenv` chroot $chrootEnvPath sudo -u $USER bash -c "$command"
pkexec env `gx-env-show-env-list` chroot $chrootEnvPath sudo -u $USER bash -c "$command"
#echo $@
#pkexec gx-env-load-desktop