We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcf5d8 commit 83e71a7Copy full SHA for 83e71a7
scripts/run_desktop.sh
@@ -59,14 +59,7 @@ pushd internal_filesystem/
59
if [ -f "$script" ]; then
60
"$binary" -v -i "$script"
61
elif [ ! -z "$script" ]; then # it's an app name
62
- scriptdir="apps/$script"
63
- if [ ! -d "$scriptdir" ]; then
64
- scriptdir="builtin/apps/$script"
65
- fi
66
67
- echo "ERROR: no app found by the name '$script'"
68
- exit 1
69
+ scriptdir="$script"
70
echo "Running app from $scriptdir"
71
"$binary" -X heapsize=$HEAPSIZE -v -i -c "$(cat boot_unix.py main.py) ; import mpos.apps; mpos.apps.start_app('$scriptdir')"
72
else
0 commit comments