Compare commits
No commits in common. "aef6fe709e9c353bf485769a1b49fe6978c3fb95" and "78b9a06c073b76faa0ff44eb35595ff409b95a22" have entirely different histories.
aef6fe709e
...
78b9a06c07
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@ -1,26 +0,0 @@
|
|||||||
# 根据上传的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"
|
|
11
README.md
11
README.md
@ -8,27 +8,20 @@
|
|||||||
|
|
||||||
## 包含内容
|
## 包含内容
|
||||||
|
|
||||||
|
- [V2Ray core](<https://github.com/v2fly/v2ray-core>): V2Ray核心代理程序
|
||||||
- 基于iptables的代理脚本
|
- 基于iptables的代理脚本
|
||||||
- [V2Manager](<https://github.com/yatsuki/v2manager>):管理核心程序以及iptables的APP
|
- [V2Manager](<https://github.com/yatsuki/v2manager>):管理核心程序以及iptables的APP
|
||||||
- [magisk-module-installer](https://github.com/topjohnwu/magisk-module-installer)
|
- [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 路由规则文件加强版
|
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
|
|
||||||
下载[zip](https://github.com/yatsuki/v2ray/releases)后自行在`Magisk Manager`中从本地安装。
|
目前还未合并至Magisk官方模块仓库,下载[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/config.json` V2Ray配置文件
|
||||||
- `/data/v2ray/appid.list` 需要代理的APP列表
|
- `/data/v2ray/appid.list` 需要代理的APP列表
|
||||||
- `/data/v2ray/softap.list` 需要代理的子网
|
- `/data/v2ray/softap.list` 需要代理的子网
|
||||||
- `/data/v2ray/manual` 停用开机启动
|
|
||||||
|
|
||||||
## 使用方法
|
## 使用方法
|
||||||
|
|
||||||
|
2
app
2
app
@ -1 +1 @@
|
|||||||
Subproject commit 2eda7595dee3a0e0180af8b30c2d7e1561014f09
|
Subproject commit 0908cc917dad5c3c8d988d0f8c24ca558260c320
|
19
customize.sh
19
customize.sh
@ -38,17 +38,16 @@ unzip -j -o "${ZIPFILE}" "v2ray/etc/config.json.template" -d /data/v2ray >&2
|
|||||||
[ -f /data/v2ray/config.json ] || \
|
[ -f /data/v2ray/config.json ] || \
|
||||||
cp /data/v2ray/config.json.template /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
|
ln -s /data/v2ray/resolv.conf $MODPATH/system/etc/resolv.conf
|
||||||
|
|
||||||
# generate module.prop
|
# generate module.prop
|
||||||
# ui_print "- Generate module.prop"
|
ui_print "- Generate module.prop"
|
||||||
# rm -rf $MODPATH/module.prop
|
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=2.0.1" >> $MODPATH/module.prop
|
||||||
# echo "versionCode=20220119" >> $MODPATH/module.prop
|
echo "versionCode=20220119" >> $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
|
||||||
|
|
||||||
inet_uid="3003"
|
inet_uid="3003"
|
||||||
net_raw_uid="3004"
|
net_raw_uid="3004"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
id=v2ray
|
id=v2ray
|
||||||
name=V2ray for Android
|
name=V2ray for Android
|
||||||
version=2.0.1.02
|
version=2.0.1
|
||||||
versionCode=20220223
|
versionCode=20220119
|
||||||
author=ohnoku
|
author=ohnoku
|
||||||
description=V2ray core with service scripts for Android
|
description=V2ray core with service scripts for Android
|
||||||
|
updateJson=https://yatsuki.github.io/v2ray-release/release.json
|
Loading…
Reference in New Issue
Block a user