Skip to content

Commit 43360a3

Browse files
committed
updated compile
1 parent 2e90831 commit 43360a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777

7878
if(args.ins):
7979
print("\n===================Transfering APK===================")
80+
os.system("chmod 400 /home/SoftwarePilot/tools/AUAV")
8081
os.system("ssh -p 22223 -i "+auavhome+"/tools/AUAV root\@"+args.ins+" \"rm -f /sdcard/AUAVAndroid.apk\"")
8182
os.system("scp -P 22223 -i "+auavhome+"/tools/AUAV "+auavhome+"/kernels/AUAVAndroid.apk root\@"+args.ins+":/sdcard/AUAVAndroid.apk")
8283
os.system("ssh -p 22223 -i "+auavhome+"/tools/AUAV root\@"+args.ins+" \"su -c \\\"pm install -r /sdcard/AUAVAndroid.apk\\\"\"")

0 commit comments

Comments
 (0)