ship default background in zip package

- add static resources to zip package
- cat background.
This commit is contained in:
philippe lhardy
2022-01-10 15:55:52 +01:00
parent f15ec70e12
commit e426193690

View File

@@ -35,6 +35,9 @@ specific_run()
create_zip_package()
{
dest=artloglaby/
# some static resources outside jar.
static_resources=lab/titou20.xpm
if [[ -e $dest ]]
then
echo "[ERROR] $dest already exists ! move it away ">&2
@@ -49,7 +52,15 @@ create_zip_package()
mkdir $dest/lab
mkdir $dest/libs
cp scripts/laby.sh $dest
for sr in $static_resources
do
if [[ -f $sr ]]
then
cp $sr $dest/$sr
else
echo "[ERROR] expecting static resource $sr" >&2
fi
done
MAINJAR=""
pushd dist/lib
findmainjar