chore: Update xvfb-run command in alpha-build.sh script

This commit is contained in:
Mauro Balades
2024-07-19 19:54:09 +02:00
parent fb34e6c2fd
commit e1e910e339
4 changed files with 14 additions and 12 deletions

View File

@@ -1,3 +1,10 @@
export ZEN_RELEASE=1
xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" pnpm build
# Check if xfvb is installed
if ! command -v xvfb-run &> /dev/null
then
echo "xvfb-run could not be found, running without it"
pnpm build
else
xvfb-run -s "-screen 0 1920x1080x24 -nolisten local" pnpm build
fi