File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -18,28 +18,32 @@ localPath=`pwd`
1818echo " localPath:" $localPath
1919chmod +x ./build_apk.sh
2020echo " appNo:${appNo} "
21+ echo " param:${1} "
2122
23+ moduleKey=${1}
24+ if [ " $moduleKey " x = " " x ]; then
25+ moduleKey=$appNo
26+ fi
2227# 获取应用基本信息的APP
23- if [ " $appNo " x = " ZAPK" x ]; then
28+ if [ " $moduleKey " x = " ZAPK" x ]; then
2429 /bin/bash ./build_apk.sh ZAPK PubGetAPKInfo com.bihe0832.getsignature com.bihe0832.android.app.Application
2530 checkResult
2631fi
2732
28-
2933# 拼图APP
30- if [ " $appNo " x = " ZPUZZLE" x ]; then
34+ if [ " $moduleKey " x = " ZPUZZLE" x ]; then
3135 /bin/bash ./build_apk.sh ZPUZZLE PubPuzzleGame com.bihe0832.puzzle com.bihe0832.android.app.Application
3236 checkResult
3337fi
3438
3539# M3u8 APP
36- if [ " $appNo " x = " ZM3U8" x ]; then
40+ if [ " $moduleKey " x = " ZM3U8" x ]; then
3741 /bin/bash ./build_apk.sh ZM3U8 PubM3U8 com.bihe0832.m3u8 com.bihe0832.android.app.Application
3842 checkResult
3943fi
4044
4145# ADB Input APP
42- if [ " $appNo " x = " ZINPUT" x ]; then
46+ if [ " $moduleKey " x = " ZINPUT" x ]; then
4347 /bin/bash ./build_apk.sh ZINPUT PubAdbInput com.bihe0832.adb.input com.bihe0832.android.app.Application
4448 checkResult
4549fi
You can’t perform that action at this time.
0 commit comments