Update 'mkimg.sh'
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good
This commit is contained in:
parent
f2a109a03d
commit
7bae906da0
7
mkimg.sh
7
mkimg.sh
@ -47,14 +47,15 @@ cp -rf $W/backend/build/$arch/* antos.AppDir/
|
|||||||
|
|
||||||
cp -rf $W/frontend/$tag/build/* 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/
|
|
||||||
|
|
||||||
# create binary tar.gz
|
# create binary tar.gz
|
||||||
[ ! -d "build/$tag" ] && mkdir -p build/$tag
|
[ ! -d "build/$tag" ] && mkdir -p build/$tag
|
||||||
cd antos.AppDir
|
cd antos.AppDir
|
||||||
tar cvzf ../build/$tag/AntOS_$suffix.tar.gz .
|
tar cvzf ../build/$tag/AntOS_$suffix.tar.gz .
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
|
cp antd-config.ini antos.AppDir/opt/www/
|
||||||
|
cp runner.ini antos.AppDir/opt/www/
|
||||||
|
|
||||||
# AppRun
|
# AppRun
|
||||||
cat << "EOF" >> antos.AppDir/AppRun
|
cat << "EOF" >> antos.AppDir/AppRun
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
Loading…
Reference in New Issue
Block a user