From 3676aafdcb892baede4ac6d2e5deb4d938ce6306 Mon Sep 17 00:00:00 2001 From: dany Date: Thu, 29 Sep 2022 23:46:16 +0200 Subject: [PATCH] Update 'mkimg.sh' --- mkimg.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mkimg.sh b/mkimg.sh index 375fdb0..e1911dc 100755 --- a/mkimg.sh +++ b/mkimg.sh @@ -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