Update 'mkimg.sh'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit

This commit is contained in:
dany 2022-09-29 23:46:16 +02:00
parent c0e75f35fa
commit 3676aafdcb

View File

@ -31,7 +31,7 @@ chmod +x appimagetool.AppImage
wget --no-check-certificate https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-$archname
W="/var/jenkins_home/workspace/nightly-antosaio/build/"
W="$WORKSPACE/antos/"
[ -d antos.AppDir ] && rm -rf antos.AppDir
@ -72,17 +72,15 @@ EOF
# copy all neccessary file
cp antos.png antos.AppDir
cp -rf $W/backend/$arch/* antos.AppDir/
cp -rf $W/backend/build/$arch/* antos.AppDir/
cp -rf $W/frontend/$tag/* antos.AppDir/
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
# prepare lib
cp -rf lib-$arch/* antos.AppDir/usr/lib
tree antos.AppDir
./appimagetool.AppImage --runtime-file runtime-$archname antos.AppDir build/AntOS_$archname-$tag.AppImage