This commit is contained in:
2023-06-29 12:00:05 +08:00
parent cf62ac97cd
commit de9c155740
6 changed files with 16 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ if [[ ! -f $HOME/.config/gx-env/nosandbox ]]; then
else
gx-env-run-root python3 /gx-env/gx-env-load-desktop-in-chroot 1
fi
if [[ ! -d /usr/share/applications/gx-env ]]; then
pkexec mkdir /usr/share/applications/gx-env -p
fi
pkexec cp $chrootEnvPath/gx-env/desktop/* /usr/share/applications/gx-env -v
#if [[ ! -d /usr/share/applications/gx-env ]]; then
# pkexec mkdir /usr/share/applications/gx-env -p
#fi
pkexec cp $chrootEnvPath/gx-env/desktop/* /usr/share/applications/ -v