# 书虫兼容模式 # [English](README.md) 琥珀兼容环境是一款基于bubblewrap的容器化应用打包和分发方案。 书虫兼容模式用极为轻量的容器方案让你可以在几乎任何的Linux发行版上运行一个`Debian 12`容器。在`Appimage`应用无法启动或者打包的时候,使用书虫兼容模式来打包可以让你在使用最新的环境的同时在更多的发行版上运行,是一个很好的选择 **首次安装后请注销或重启以展示启动器入口** 请使用 `git clone --recurse-submodules` 来获取 ## 安装指南 ### 快捷安装 (需要安装星火应用商店) [spk://store/tools/cn.flamescion.bookworm-compatibility-mode/](https://spark-store-project.gitee.io/spk-resolv/?spk=spk://store/tools/cn.flamescion.bookworm-compatibility-mode/) ### 手动安装(Debian/Fedora/Arch) https://pan.shenmo.tech/index.php?share/folder&user=1&sid=Ye6kyxQE (Ubuntu 18.04/deepin 15需要先安装依赖) https://cdn.d.store.deepinos.org.cn/store/depends/bubblewrap_0.3.1-4_amd64.deb x86 https://cdn.d.store.deepinos.org.cn/aarch64-store/depends/bubblewrap_0.3.1-4_arm64.deb arm64 ### Amber-CE x86 利用 LAT 运行的x86容器,可安装和运行x86的deb https://pan.shenmo.tech/index.php?share/folder&user=1&sid=qnJAY5BE ## 构建指南 ### Debian 先构建容器再打包,容器位置在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files` 下面是详细步骤: 1. 安装依赖:sudo apt-get install arch-test debootstrap libnss-mymachines systemd-container 2. 在`src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files`位置进入终端,执行`./build-container.sh amd64`[amd架构,其他架构同理]` 3. 等待容器打包完成 4. 进入`amber-ce-bookworm`目录,执行`fakeroot dpkg-deb -b src .` 5. 等待打包完成 ### Fedora 请前往 https://gitee.com/amber-ce/ace-rpm ### Arch `yay -S amber-ce-bookworm` ---