修复pixmaps问题

This commit is contained in:
2026-04-19 18:18:50 +08:00
parent 1438d58c46
commit 8e06f92bcb
2 changed files with 3 additions and 18 deletions

View File

@@ -125,22 +125,5 @@ ln -sfv /amber-ce-tools/bin-override/host-spawn-$(uname -m) /amber-ce-tools/bin-
exit 0
## install host-integration
pushd /amber-ce-tools/ace-host-integration
dpkg-deb -Z xz -b . ../ace-host-integration.deb
popd
apt install --reinstall /amber-ce-tools/ace-host-integration.deb -y
cd /amber-ce-tools/data-dir/
mkdir -p usr/share/templates
ln -sfv ../../usr/share/applications/ .
ln -sfv ../../usr/share/icons/ .
ln -sfv ../../usr/share/templates/ .
#ln -svf ../../usr/share/mime .
ln -sfv ../../usr/share/pixmaps/ .
rm -vf ./mime
update-desktop-database /usr/share/applications || true
update-mime-database /usr/share/mime || true

View File

@@ -114,8 +114,10 @@ ln -sv ../../usr/share/applications $chrootEnvPath/amber-ce-tools/data-dir/
ln -sv ../../usr/share/icons $chrootEnvPath/amber-ce-tools/data-dir/
mkdir -p $chrootEnvPath/usr/share/templates
ln -sfv ../../usr/share/templates/ $chrootEnvPath/amber-ce-tools/data-dir/
mkdir -p $chrootEnvPath/usr/share/templates
mkdir -p $chrootEnvPath/usr/share/mime
ln -sfv ../../usr/share/mime/ $chrootEnvPath/amber-ce-tools/data-dir/
mkdir -p $chrootEnvPath/usr/share/pixmaps
ln -sfv ../../usr/share/pixmaps/ $chrootEnvPath/amber-ce-tools/data-dir/
chmod 777 -R $chrootEnvPath/usr/share/icons
rm -vfr $chrootEnvPath/dev/*