Fix run-local script to use new executable name
Updated the script to use the new name on the executable, lite-xl instead of line.
This commit is contained in:
parent
e1ae94a01b
commit
b3b99b9dcd
|
@ -71,9 +71,9 @@ copy_lite_build () {
|
||||||
rm -fr "$rundir"
|
rm -fr "$rundir"
|
||||||
mkdir -p "$bindir" "$datadir"
|
mkdir -p "$bindir" "$datadir"
|
||||||
if [ ! -z ${run_windows+x} ]; then
|
if [ ! -z ${run_windows+x} ]; then
|
||||||
cp "$builddir/src/lite.exe" "$bindir"
|
cp "$builddir/src/lite-xl.exe" "$bindir"
|
||||||
else
|
else
|
||||||
cp "$builddir/src/lite" "$bindir"
|
cp "$builddir/src/lite-xl" "$bindir"
|
||||||
fi
|
fi
|
||||||
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"
|
||||||
|
@ -82,14 +82,14 @@ copy_lite_build () {
|
||||||
|
|
||||||
run_lite () {
|
run_lite () {
|
||||||
if [ ! -z ${option_global+x} ]; then
|
if [ ! -z ${option_global+x} ]; then
|
||||||
echo "running \"lite ${pargs[@]:1}\""
|
echo "running \"lite-xl ${pargs[@]:1}\""
|
||||||
exec "$bindir/lite" "${pargs[@]:1}"
|
exec "$bindir/lite-xl" "${pargs[@]:1}"
|
||||||
else
|
else
|
||||||
echo "running \"lite ${pargs[@]:1}\" with local HOME"
|
echo "running \"lite-xl ${pargs[@]:1}\" with local HOME"
|
||||||
if [ ! -z ${run_windows+x} ]; then
|
if [ ! -z ${run_windows+x} ]; then
|
||||||
USERPROFILE="$userdir" exec "$bindir/lite" "${pargs[@]:1}"
|
USERPROFILE="$userdir" exec "$bindir/lite-xl" "${pargs[@]:1}"
|
||||||
else
|
else
|
||||||
HOME="$userdir" exec "$bindir/lite" "${pargs[@]:1}"
|
HOME="$userdir" exec "$bindir/lite-xl" "${pargs[@]:1}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue