diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2021-09-30 14:24:50 -0700 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2021-09-30 14:24:50 -0700 |
| commit | fb1e08840ec20bebbe06694be7deaceceb80ac8d (patch) | |
| tree | b78b9f0de061e83ee30d76add84f3cd456a42965 /scripts/run-local | |
| parent | c05cddecb7a32a162a70a41ac806013faeac3e23 (diff) | |
| parent | 66196d612c94abd2997686e70d28eaecb5b4baff (diff) | |
| download | lite-xl-dmon-debug.tar.gz lite-xl-dmon-debug.zip | |
Merge branch 'dmon-1' into dmon-debugdmon-debug
Diffstat (limited to 'scripts/run-local')
| -rwxr-xr-x | scripts/run-local | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/run-local b/scripts/run-local index d5de23aa..8a32e7fa 100755 --- a/scripts/run-local +++ b/scripts/run-local @@ -47,10 +47,7 @@ if [[ "$OSTYPE" == "msys"* || "$OSTYPE" == "mingw"* ]]; then fi rundir=".run" -if [[ "$OSTYPE" == "darwin"* ]]; then - bindir="$rundir" - datadir="$rundir" -elif [ "$option_portable" == on ]; then +if [ "$option_portable" == on ]; then bindir="$rundir" datadir="$rundir/data" else @@ -75,9 +72,14 @@ copy_lite_build () { else cp "$builddir/src/lite-xl" "$bindir" fi + mkdir -p "$datadir/core" for module_name in core plugins colors fonts; do cp -r "data/$module_name" "$datadir" done + # The start.lua file is generated by meson in $builddir but + # there is already a start.lua file in data/core so the command below + # should be executed after we copy the data/core directory. + cp "$builddir/start.lua" "$datadir/core" } run_lite () { |
