This repository was archived by the owner on Jan 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +65
-4
lines changed
Expand file tree Collapse file tree 4 files changed +65
-4
lines changed Original file line number Diff line number Diff line change 11#! /system/bin/sh
22DIR=${0%/* }
3- test=$DIR ' /init.sh && ' $DIR ' /python3-android5 ' " $@ " ' && ' $DIR ' /end.sh'
3+ if [ -z " $1 " ]; then
4+
5+ test=$DIR ' /init.sh && ' $DIR ' /python3-android5 && ' $DIR ' /bend.sh'
6+
7+ else
8+ is_web=` grep " #qpy:webapp" $1 `
9+ is_qapp1=` grep " #qpy:qpyapp" $1 `
10+ is_qapp2=` grep " #qpy:qpysrv" $1 `
11+
12+ if [ -z " ${is_web} " ] && [ -z " ${is_qapp1} " ] && [ -z " ${is_qapp2} " ]; then
13+ test=$DIR ' /init.sh && ' $DIR ' /python3-android5 ' " $@ " ' && ' $DIR ' /bend.sh'
14+ else
15+ test=$DIR ' /init.sh && ' $DIR ' /python3-android5 ' " $@ " ' && ' $DIR ' /send.sh'
16+ fi
17+ fi
18+
419cat $DIR /init.sh > $DIR /python3-android5-root
520echo ' \n' >> $DIR /python3-android5-root
621echo $test >> $DIR /python3-android5-root
Original file line number Diff line number Diff line change 11#! /system/bin/sh
22DIR=${0%/* }
3- . $DIR /init.sh && $DIR /python3-android5 " $@ " && $DIR /end.sh
3+
4+ if [ -z " $1 " ]; then
5+
6+ . $DIR /init.sh && $DIR /python3-android5 && $DIR /bend.sh
7+
8+ else
9+
10+ is_web=` grep " #qpy:webapp" $1 `
11+ is_qapp1=` grep " #qpy:qpyapp" $1 `
12+ is_qapp2=` grep " #qpy:qpysrv" $1 `
13+
14+ if [ -z " ${is_web} " ] && [ -z " ${is_qapp1} " ] && [ -z " ${is_qapp2} " ]; then
15+
16+ . $DIR /init.sh && $DIR /python3-android5 " $@ " && $DIR /bend.sh
17+
18+ else
19+
20+ . $DIR /init.sh && $DIR /python3-android5 " $@ " && $DIR /send.sh
21+
22+ fi
23+
24+ fi
Original file line number Diff line number Diff line change 11#! /system/bin/sh
22DIR=${0%/* }
3- test=$DIR ' /init.sh && ' $DIR ' /python3 ' " $@ " ' && ' $DIR ' /end.sh'
3+ if [ -z " $1 " ]; then
4+ test=$DIR ' /init.sh && ' $DIR ' /python3 && ' $DIR ' /bend.sh'
5+ else
6+ is_web=` grep " #qpy:webapp" $1 `
7+ is_qapp1=` grep " #qpy:qpyapp" $1 `
8+ is_qapp2=` grep " #qpy:qpysrv" $1 `
9+
10+ if [ -z " ${is_web} " ] && [ -z " ${is_qapp1} " ] && [ -z " ${is_qapp2} " ]; then
11+ test=$DIR ' /init.sh && ' $DIR ' /python3 ' " $@ " ' && ' $DIR ' /bend.sh'
12+ else
13+ test=$DIR ' /init.sh && ' $DIR ' /python3 ' " $@ " ' && ' $DIR ' /send.sh'
14+ fi
15+ fi
16+
17+
418cat $DIR /init.sh > $DIR /python3-root
519echo ' \n' >> $DIR /python3-root
620echo $test >> $DIR /python3-root
Original file line number Diff line number Diff line change 11#! /system/bin/sh
22DIR=${0%/* }
3- . $DIR /init.sh && $DIR /python3 " $@ " && $DIR /end.sh
3+ if [ -z " $1 " ]; then
4+ . $DIR /init.sh && $DIR /python3 " $@ " && $DIR /bend.sh
5+ else
6+ is_web=` grep " #qpy:webapp" $1 `
7+ is_qapp1=` grep " #qpy:qpyapp" $1 `
8+ is_qapp2=` grep " #qpy:qpysrv" $1 `
49
10+ if [ -z " ${is_web} " ] && [ -z " ${is_qapp1} " ] && [ -z " ${is_qapp2} " ]; then
11+ . $DIR /init.sh && $DIR /python3 " $@ " && $DIR /bend.sh
12+ else
13+ . $DIR /init.sh && $DIR /python3 " $@ " && $DIR /send.sh
14+ fi
15+ fi
You can’t perform that action at this time.
0 commit comments