Remove symlink to system package caches
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good

This commit is contained in:
dany 2022-10-03 19:04:55 +02:00
parent 6b6e3a9b26
commit b2dbaed519

View File

@ -55,8 +55,6 @@ fi
[ ! -f "$W/runner.ini" ] && cp ./opt/www/runner.ini $W/runner.ini
export LD_LIBRARY_PATH="$B/usr/lib/"
echo "Runing Antd in $B with configuration $W/antd-config.ini"
# TODO this is not good
touch /tmp/.antos_pkgcache
./usr/bin/antd $W/antd-config.ini >/dev/null 2>&1 | ( sleep 2 && ./opt/www/bin/runner $W/runner.ini >/dev/null 2>&1 &)
EOF
@ -82,8 +80,6 @@ cp -rf $W/frontend/$tag/build/* antos.AppDir/
cp antd-config.ini antos.AppDir/opt/www/
cp runner.ini antos.AppDir/opt/www/
ln -sf /tmp/.antos_pkgcache antos.AppDir/opt/www/htdocs/os/packages/packages.json
tree antos.AppDir
./appimagetool.AppImage --runtime-file runtime-$archname antos.AppDir build/AntOS_$archname-$tag.AppImage