Compare commits
No commits in common. "b382a169aac498cdb97e5284a92688656adc072f" and "e21a127b19a8e92fdb96da2e396f17ed670b6e9a" have entirely different histories.
b382a169aa
...
e21a127b19
@ -7,6 +7,7 @@ SKIPUNZIP=1
|
|||||||
# prepare v2ray execute environment
|
# prepare v2ray execute environment
|
||||||
ui_print "- Prepare V2Ray execute environment."
|
ui_print "- Prepare V2Ray execute environment."
|
||||||
mkdir -p /data/v2ray
|
mkdir -p /data/v2ray
|
||||||
|
mkdir -p /data/v2ray/dnscrypt-proxy
|
||||||
mkdir -p /data/v2ray/run
|
mkdir -p /data/v2ray/run
|
||||||
mkdir -p $MODPATH/scripts
|
mkdir -p $MODPATH/scripts
|
||||||
mkdir -p $MODPATH/system/bin
|
mkdir -p $MODPATH/system/bin
|
||||||
@ -44,8 +45,8 @@ rm -rf $MODPATH/module.prop
|
|||||||
touch $MODPATH/module.prop
|
touch $MODPATH/module.prop
|
||||||
echo "id=v2ray" > $MODPATH/module.prop
|
echo "id=v2ray" > $MODPATH/module.prop
|
||||||
echo "name=V2ray for Android" >> $MODPATH/module.prop
|
echo "name=V2ray for Android" >> $MODPATH/module.prop
|
||||||
echo "version=2.0.1" >> $MODPATH/module.prop
|
echo "version=4.44.0" >> $MODPATH/module.prop
|
||||||
echo "versionCode=20220119" >> $MODPATH/module.prop
|
echo "versionCode=20210801" >> $MODPATH/module.prop
|
||||||
echo "author=ohnoku" >> $MODPATH/module.prop
|
echo "author=ohnoku" >> $MODPATH/module.prop
|
||||||
echo "description=V2ray core with service scripts for Android" >> $MODPATH/module.prop
|
echo "description=V2ray core with service scripts for Android" >> $MODPATH/module.prop
|
||||||
|
|
||||||
|
@ -12,9 +12,7 @@ start_proxy () {
|
|||||||
# /system app can not run
|
# /system app can not run
|
||||||
# check the app was installed to /data/ at ervery boot
|
# check the app was installed to /data/ at ervery boot
|
||||||
AppIn=`pm list packages -f | grep lintian`
|
AppIn=`pm list packages -f | grep lintian`
|
||||||
if [ $? == 1 ]; then
|
if [[ "$AppIn" = package:/system* ]]; 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
|
pm install /data/adb/modules/v2ray/system/app/Stk/v2manager.apk
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user