submodule

This commit is contained in:
shenmo 2023-11-09 13:58:02 +08:00
parent 0ea3efeda9
commit 23379a45cf
8 changed files with 3 additions and 1090 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "bin-override"]
path = src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/flamescion-container-tools/bin-override
url = https://gitee.com/amber-compatability-environment/bin-override.git

View File

@ -1,6 +0,0 @@
#!/bin/bash
if [ "$1" = "open" ];then
xdg-open ${@:2}
else
/usr/bin/gio $@
fi

View File

@ -1,6 +0,0 @@
#!/bin/bash
if [ "$UID" = "0" ];then
pkexec $@
else
host-spawn pkexec bookworm-run $@
fi

View File

@ -1,6 +0,0 @@
#!/bin/bash
if [ "$UID" = "0" ];then
sudo $@
else
host-spawn sudo bookworm-run $@
fi