From 83e71a778512661383e77b9f4dadb1c23f3700d8 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Wed, 5 Nov 2025 09:01:48 +0100 Subject: [PATCH] run_desktop.sh: fix single app running --- scripts/run_desktop.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/run_desktop.sh b/scripts/run_desktop.sh index 2d9ea8a5..ddad1343 100755 --- a/scripts/run_desktop.sh +++ b/scripts/run_desktop.sh @@ -59,14 +59,7 @@ pushd internal_filesystem/ if [ -f "$script" ]; then "$binary" -v -i "$script" elif [ ! -z "$script" ]; then # it's an app name - scriptdir="apps/$script" - if [ ! -d "$scriptdir" ]; then - scriptdir="builtin/apps/$script" - fi - if [ ! -d "$scriptdir" ]; then - echo "ERROR: no app found by the name '$script'" - exit 1 - fi + scriptdir="$script" echo "Running app from $scriptdir" "$binary" -X heapsize=$HEAPSIZE -v -i -c "$(cat boot_unix.py main.py) ; import mpos.apps; mpos.apps.start_app('$scriptdir')" else