优化快捷方式生成
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
chrootEnvPath=/opt/new-system-env
|
||||
if [[ -f $HOME/.config/gx-env/nosandbox ]]; then
|
||||
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
|
||||
@@ -8,4 +8,4 @@ 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
|
||||
pkexec cp $chrootEnvPath/gx-env/desktop/* /usr/share/applications/gx-env -v
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
chrootEnvPath=/opt/new-system-env
|
||||
if [[ -f $HOME/.config/gx-env/nosandbox ]]; then
|
||||
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
|
||||
@@ -8,4 +8,4 @@ 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
|
||||
pkexec cp $chrootEnvPath/gx-env/desktop/* /usr/share/applications/gx-env -v
|
||||
|
||||
Reference in New Issue
Block a user