From cf8a56e8b0e7e4755606cc2f45f8fcd85bffa033 Mon Sep 17 00:00:00 2001 From: shenmo Date: Thu, 9 Nov 2023 19:34:01 +0800 Subject: [PATCH] 12.3 --- src/DEBIAN/control | 2 +- .../files/bin/bookworm-init | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DEBIAN/control b/src/DEBIAN/control index 3c85940..2c8a5bf 100755 --- a/src/DEBIAN/control +++ b/src/DEBIAN/control @@ -4,5 +4,5 @@ Section: misc Priority: optional Depends: bubblewrap,flatpak Maintainer: shenmo -Architecture: amd64 +Architecture: arm64 Description: bwrap wrapper for install and running debs inside a bookworm container diff --git a/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-init b/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-init index a3467a2..2317535 100755 --- a/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-init +++ b/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-init @@ -190,8 +190,8 @@ bookworm-run rm /init.sh bookworm-run cp /host/etc/locale.gen /etc/locale.gen && locale-gen -if [ ! -e $chrootEnvPath/opt/ace-host-integration/ace-host-integration ];then -echo "Fix: 12.3-new feature: integrate. Installing..." + +echo "Installing or Upgrading host integration..." gitee_api_url="https://gitee.com/api/v5/repos/amber-compatability-environment/ace-host-integration/releases/latest" resp="$(curl -s $gitee_api_url)" VERSION_GITEE="$(jq -r '.tag_name' <<<$resp | sed "s/.*V\([^_]*\).*/\1/g")" @@ -199,7 +199,7 @@ echo "$VERSION_GITEE" bookworm-run wget https://gitee.com/amber-compatability-environment/ace-host-integration/releases/download/${VERSION_GITEE}/ace-host-integration_${VERSION_GITEE}_all.deb bookworm-run apt install ./ace-host-integration_${VERSION_GITEE}_all.deb bookworm-run rm ./ace-host-integration_${VERSION_GITEE}_all.deb -fi + bookworm-run touch /finish.flag bookworm-run apt clean