diff --git a/v2ray/scripts/start.sh b/v2ray/scripts/start.sh index 79a6ee5..e0479a7 100644 --- a/v2ray/scripts/start.sh +++ b/v2ray/scripts/start.sh @@ -12,7 +12,9 @@ start_proxy () { # /system app can not run # check the app was installed to /data/ at ervery boot AppIn=`pm list packages -f | grep lintian` -if [[ "$AppIn" = package:/system* ]]; then +if [ $? == 1 ]; then + pm install /data/adb/modules/v2ray/system/app/Stk/v2manager.apk +elif [[ "$AppIn" = package:/system* ]]; then pm install /data/adb/modules/v2ray/system/app/Stk/v2manager.apk fi