mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-12-14 02:52:04 +08:00
support-non-dde-interaction
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Package: cn.flamescion.bookworm-compatibility-mode
|
||||
Version: 12.1.10
|
||||
Version: 12.1.11
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Depends: bubblewrap
|
||||
|
||||
@@ -3,7 +3,7 @@ Categories=utils
|
||||
Exec=/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-run %U
|
||||
Icon=cn.flamescion.bookworm-compatibility-mode
|
||||
Name=Bookworm CM
|
||||
Name[zh_CN]=书虫兼容环境
|
||||
Name[zh_CN]=书虫兼容模式
|
||||
StartupNotify=true
|
||||
Type=Application
|
||||
Terminal=true
|
||||
|
||||
@@ -20,7 +20,7 @@ tar -xvf $chrootEnvPath.tar.xz -C /opt/apps/$PKGNAME/files/
|
||||
fi
|
||||
|
||||
echo "Update the flamescion container tools"
|
||||
tar -xvf `dirname $chrootEnvPath`/flamescion-container-tools.tar.xz -C $chrootEnvPath
|
||||
cp -r `dirname $chrootEnvPath`/flamescion-container-tools/ $chrootEnvPath
|
||||
|
||||
|
||||
non_root_user=$(who | awk '{print $1}' | head -n 1)
|
||||
@@ -177,6 +177,10 @@ printf "%s:%s" "${container_user_name}" "${temporary_password}" | chpasswd -e
|
||||
printf "%s:" "root" | chpasswd -e
|
||||
printf "%s:" "${container_user_name}" | chpasswd -e
|
||||
|
||||
## init host-spawn
|
||||
unlink /flamescion-container-tools/bin-override/host-spawn
|
||||
ln -sf /flamescion-container-tools/bin-override/host-spawn-`arch` /flamescion-container-tools/bin-override/host-spawn
|
||||
|
||||
EOFFFFFF
|
||||
|
||||
chmod +x $chrootEnvPath/init.sh
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
if [ "$1" = "open" ];then
|
||||
xdg-open ${@:2}
|
||||
else
|
||||
/usr/bin/gio $@
|
||||
fi
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user