Compare commits

..

5 Commits

Author SHA1 Message Date
Xu Tianliang
aef6fe709e
feat:更新版本v2.0.1.02
v2manager版本:v1.0.2.01
2022-02-23 20:19:46 +08:00
Xu Tianliang
6a637c5ce8
docs:更新插件说明(Magisk 24.0+) 2022-02-23 20:17:36 +08:00
Xu Tianliang
4236a079a9
chore:引用v2ray-release脚本进行打包 2022-02-23 19:46:15 +08:00
Xu Tianliang
002bd9b5f2
chore:更新地址将在发布打包时指定 2022-02-23 19:39:23 +08:00
Xu Tianliang
bfcebe2c48
chore:新建Github Actions自动打包发布 2022-02-23 17:43:00 +08:00
5 changed files with 48 additions and 15 deletions

26
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,26 @@
# 根据上传的tag打包发布至Github
name: Auto Release
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
publish-module:
runs-on: ubuntu-latest
steps:
- name: 1.检出代码
uses: actions/checkout@v2
- name: 2.下载打包脚本并执行
run: curl https://yatsuki.github.io/v2ray-release/release.sh | sh
- name: 3.发布
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: "自动发布"
artifacts: "v2ray-magisk-android32.zip,v2ray-magisk-android64.zip"

View File

@ -8,20 +8,27 @@
## 包含内容
- [V2Ray core](<https://github.com/v2fly/v2ray-core>): V2Ray核心代理程序
- 基于iptables的代理脚本
- [V2Manager](<https://github.com/yatsuki/v2manager>)管理核心程序以及iptables的APP
- [magisk-module-installer](https://github.com/topjohnwu/magisk-module-installer)
### 插件打包时一起打包的二进制文件
- [V2Ray core](<https://github.com/v2fly/v2ray-core>): V2Ray核心代理程序
- [v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat): V2Ray 路由规则文件加强版
## 安装
目前还未合并至Magisk官方模块仓库下载[zip](https://github.com/yatsuki/v2ray/releases)后自行在`Magisk Manager`中从本地安装
下载[zip](https://github.com/yatsuki/v2ray/releases)后自行在`Magisk Manager`中从本地安装。
### 插件更新
Magisk更新至24.0+之后取消了线上仓库,插件需要在`module.prop`中指定`updateJson`来检查新版本。本插件将使用[v2ray-release](https://github.com/yatsuki/v2ray-release)来检查更新。由于有32/64平台的区分`updateJson`会在插件发布打包时指定。
## 配置文件(底层)
- `/data/v2ray/config.json` V2Ray配置文件
- `/data/v2ray/appid.list` 需要代理的APP列表
- `/data/v2ray/softap.list` 需要代理的子网
- `/data/v2ray/manual` 停用开机启动
## 使用方法

2
app

@ -1 +1 @@
Subproject commit 0908cc917dad5c3c8d988d0f8c24ca558260c320
Subproject commit 2eda7595dee3a0e0180af8b30c2d7e1561014f09

View File

@ -38,16 +38,17 @@ unzip -j -o "${ZIPFILE}" "v2ray/etc/config.json.template" -d /data/v2ray >&2
[ -f /data/v2ray/config.json ] || \
cp /data/v2ray/config.json.template /data/v2ray/config.json
ln -s /data/v2ray/resolv.conf $MODPATH/system/etc/resolv.conf
# generate module.prop
ui_print "- Generate module.prop"
rm -rf $MODPATH/module.prop
touch $MODPATH/module.prop
echo "id=v2ray" > $MODPATH/module.prop
echo "name=V2ray for Android" >> $MODPATH/module.prop
echo "version=2.0.1" >> $MODPATH/module.prop
echo "versionCode=20220119" >> $MODPATH/module.prop
echo "author=ohnoku" >> $MODPATH/module.prop
echo "description=V2ray core with service scripts for Android" >> $MODPATH/module.prop
# ui_print "- Generate module.prop"
# rm -rf $MODPATH/module.prop
# touch $MODPATH/module.prop
# echo "id=v2ray" > $MODPATH/module.prop
# echo "name=V2ray for Android" >> $MODPATH/module.prop
# echo "version=2.0.1" >> $MODPATH/module.prop
# echo "versionCode=20220119" >> $MODPATH/module.prop
# echo "author=ohnoku" >> $MODPATH/module.prop
# echo "description=V2ray core with service scripts for Android" >> $MODPATH/module.prop
inet_uid="3003"
net_raw_uid="3004"

View File

@ -1,7 +1,6 @@
id=v2ray
name=V2ray for Android
version=2.0.1
versionCode=20220119
version=2.0.1.02
versionCode=20220223
author=ohnoku
description=V2ray core with service scripts for Android
updateJson=https://yatsuki.github.io/v2ray-release/release.json