This commit is contained in:
shenmo 2023-11-03 23:08:54 +08:00
parent 0d0085187f
commit 47b4a97480
3 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,5 @@
Package: cn.flamescion.bookworm-compatibility-mode
Version: 12.2
Version: 12.2.1
Section: misc
Priority: optional
Depends: bubblewrap

View File

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

View File

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