-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunAndroidFASI.sh
More file actions
executable file
·31 lines (27 loc) · 1013 Bytes
/
Copy pathrunAndroidFASI.sh
File metadata and controls
executable file
·31 lines (27 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/bash
if [ "$#" -ne 2 ] || ! [ -d "$1" ]; then
echo "Usage: $0 Android appname"
exit 1
fi
curpath=`pwd`
rm -r $curpath/$1/$2/MethodSummary
mkdir $curpath/$1/$2/MethodSummary
rm -r $curpath/$1/$2/AutoOutput
rm -r $curpath/$1/$2/Output
mkdir $curpath/$1/$2/Output
rm -r $curpath/$1/$2/Automatons
mkdir $curpath/$1/$2/Automatons
if [ $2 = 'App1' ];
then
java -jar Violist_Android_Widen.jar $curpath/Android $curpath/Android/App1 /a2z.Mobile.DevConnections.txt /a2z.Mobile.DevConnections.instrumented.apk
fi
if [ $2 = 'App2' ];
then
java -jar Violist_Android_Widen.jar $curpath/Android $curpath/Android/App2 /add.me.fast.txt /add.me.fast.instrumented.apk
fi
if [ $2 = 'App3' ];
then
java -jar Violist_Android_Widen.jar $curpath/Android $curpath/Android/App3 /appinventor.ai_jpicer.PipefitterHandbook.txt /appinventor.ai_jpicer.PipefitterHandbook.instrumented.apk
fi
mv $curpath/$1/$2/Output $curpath/$1/$2/AutoOutput
java -jar AutomatonGenerator.jar $curpath/$1/$2/AutoOutput $curpath/$1/$2/Automatons