Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit83e71a7

Browse files
run_desktop.sh: fix single app running
1 parent1dcf5d8 commit83e71a7

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

‎scripts/run_desktop.sh‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,7 @@ pushd internal_filesystem/
5959
if [-f"$script" ];then
6060
"$binary" -v -i"$script"
6161
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-
if [!-d"$scriptdir" ];then
67-
echo"ERROR: no app found by the name '$script'"
68-
exit 1
69-
fi
62+
scriptdir="$script"
7063
echo"Running app from$scriptdir"
7164
"$binary" -X heapsize=$HEAPSIZE -v -i -c"$(cat boot_unix.py main.py) ; import mpos.apps; mpos.apps.start_app('$scriptdir')"
7265
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp