Update 'mkimg.sh'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c0e75f35fa
commit
3676aafdcb
8
mkimg.sh
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user