基本完成第一版

This commit is contained in:
2023-06-28 16:22:31 +08:00
parent b853640a03
commit 779e303147
32 changed files with 503 additions and 27 deletions

11
deb/usr/bin/gx-env-load-desktop Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
chrootEnvPath=/opt/new-system-env
if [[ -f $HOME/.config/gx-env/nosandbox ]]; then
gx-env-run-root python3 /gx-env/gx-env-load-desktop-in-chroot
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