Fix run-local script to copy generated start.lua

Now the file data/core/start.lua no longer exists but it is
automatically generated by meson. Ensure the file is copied
when running locally.
This commit is contained in:
Francesco Abbate 2021-08-10 11:12:47 +02:00
parent 6955f87aaf
commit c552d373ca
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ copy_lite_build () {
else else
cp "$builddir/src/lite-xl" "$bindir" cp "$builddir/src/lite-xl" "$bindir"
fi fi
mkdir -p "$datadir/core"
cp "$builddir/start.lua" "$datadir/core"
for module_name in core plugins colors fonts; do for module_name in core plugins colors fonts; do
cp -r "data/$module_name" "$datadir" cp -r "data/$module_name" "$datadir"
done done