mirror of
https://github.com/2dust/v2rayN.git
synced 2025-11-29 11:12:54 +00:00
sync cg3s
This commit is contained in:
parent
300d69a560
commit
3cc6027bad
5 changed files with 26 additions and 17 deletions
4
.github/workflows/winget-publish.yml
vendored
4
.github/workflows/winget-publish.yml
vendored
|
|
@ -16,10 +16,10 @@ jobs:
|
||||||
- name: Submit v2ray package to Windows Package Manager Community Repository
|
- name: Submit v2ray package to Windows Package Manager Community Repository
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
$wingetPackage = "2dust.v2rayN"
|
$wingetPackage = "cg3s.v2rayN"
|
||||||
$gitToken = "${{ secrets.PT_WINGET }}"
|
$gitToken = "${{ secrets.PT_WINGET }}"
|
||||||
|
|
||||||
$github = Invoke-RestMethod -uri "https://api.github.com/repos/2dust/v2rayN/releases"
|
$github = Invoke-RestMethod -uri "https://api.github.com/repos/cg3s/v2rayN/releases"
|
||||||
|
|
||||||
$targetRelease = $github | Where-Object -Property prerelease -match 'False' | Select -First 1
|
$targetRelease = $github | Where-Object -Property prerelease -match 'False' | Select -First 1
|
||||||
$installerUrl = $targetRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match 'v2rayN-windows-64\.zip*' | Select -ExpandProperty browser_download_url
|
$installerUrl = $targetRelease | Select -ExpandProperty assets -First 1 | Where-Object -Property name -match 'v2rayN-windows-64\.zip*' | Select -ExpandProperty browser_download_url
|
||||||
|
|
|
||||||
29
README.md
29
README.md
|
|
@ -1,34 +1,43 @@
|
||||||
# v2rayN
|
# v2rayN
|
||||||
A GUI client for Windows, Linux and macOS, support [Xray core](https://github.com/XTLS/Xray-core) and [sing-box-core](https://github.com/SagerNet/sing-box/releases) and [others](https://github.com/2dust/v2rayN/wiki/List-of-supported-cores)
|
|
||||||
|
|
||||||
|
A GUI client for Windows, Linux and macOS, support [Xray core](https://github.com/XTLS/Xray-core) and [sing-box-core](https://github.com/SagerNet/sing-box/releases) and [others](https://github.com/cg3s/v2rayN/wiki/List-of-supported-cores)
|
||||||
|
|
||||||
[](https://github.com/2dust/v2rayN/commits/master)
|
[](https://github.com/cg3s/v2rayN/commits/master)
|
||||||
[](https://www.codefactor.io/repository/github/2dust/v2rayn)
|
[](https://www.codefactor.io/repository/github/cg3s/v2rayn)
|
||||||
[](https://github.com/2dust/v2rayN/releases)
|
[](https://github.com/cg3s/v2rayN/releases)
|
||||||
[](https://t.me/v2rayn)
|
[](https://t.me/v2rayn)
|
||||||
|
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
Check [Release files introduction](https://github.com/2dust/v2rayN/wiki/Release-files-introduction) and select the version you need to download
|
|
||||||
|
Check [Release files introduction](https://github.com/cg3s/v2rayN/wiki/Release-files-introduction) and select the version you need to download
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
- Run `v2rayN.exe`
|
- Run `v2rayN.exe`
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
- `chmod +x v2rayN` Run `./v2rayN` under user permissions
|
- `chmod +x v2rayN` Run `./v2rayN` under user permissions
|
||||||
|
|
||||||
```
|
```
|
||||||
Debian 9+
|
Debian 9+
|
||||||
Ubuntu 16.04+
|
Ubuntu 16.04+
|
||||||
Fedora 30+
|
Fedora 30+
|
||||||
```
|
```
|
||||||
|
|
||||||
### macOS
|
### macOS
|
||||||
|
|
||||||
- `chmod +x v2rayN` Run `./v2rayN` under user permissions
|
- `chmod +x v2rayN` Run `./v2rayN` under user permissions
|
||||||
|
|
||||||
```
|
```
|
||||||
macOS 11+
|
macOS 11+
|
||||||
```
|
```
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
- [Microsoft .NET 8.0 Desktop Runtime ](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
|
|
||||||
- [Supported cores](https://github.com/2dust/v2rayN/wiki/List-of-supported-cores)
|
|
||||||
|
|
||||||
|
- [Microsoft .NET 8.0 Desktop Runtime ](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
|
||||||
|
- [Supported cores](https://github.com/cg3s/v2rayN/wiki/List-of-supported-cores)
|
||||||
|
|
||||||
## Telegram Channel
|
## Telegram Channel
|
||||||
[github_2dust](https://t.me/github_2dust)
|
|
||||||
|
[github_cg3s](https://t.me/github_cg3s)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ OutputPath="$2"
|
||||||
Version="$3"
|
Version="$3"
|
||||||
|
|
||||||
FileName="v2rayN-${Arch}.zip"
|
FileName="v2rayN-${Arch}.zip"
|
||||||
wget -nv -O $FileName "https://github.com/2dust/v2rayN-core-bin/raw/refs/heads/master/$FileName"
|
wget -nv -O $FileName "https://github.com/cg3s/v2rayN-core-bin/raw/refs/heads/master/$FileName"
|
||||||
7z x $FileName
|
7z x $FileName
|
||||||
cp -rf v2rayN-${Arch}/* $OutputPath
|
cp -rf v2rayN-${Arch}/* $OutputPath
|
||||||
|
|
||||||
|
|
@ -27,7 +27,7 @@ cat >"${PackagePath}/DEBIAN/control" <<-EOF
|
||||||
Package: v2rayN
|
Package: v2rayN
|
||||||
Version: $Version
|
Version: $Version
|
||||||
Architecture: $Arch2
|
Architecture: $Arch2
|
||||||
Maintainer: https://github.com/2dust/v2rayN
|
Maintainer: https://github.com/cg3s/v2rayN
|
||||||
Description: A GUI client for Windows and Linux, support Xray core and sing-box-core and others
|
Description: A GUI client for Windows and Linux, support Xray core and sing-box-core and others
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ OutputPath="$2"
|
||||||
Version="$3"
|
Version="$3"
|
||||||
|
|
||||||
FileName="v2rayN-${Arch}.zip"
|
FileName="v2rayN-${Arch}.zip"
|
||||||
wget -nv -O $FileName "https://github.com/2dust/v2rayN-core-bin/raw/refs/heads/master/$FileName"
|
wget -nv -O $FileName "https://github.com/cg3s/v2rayN-core-bin/raw/refs/heads/master/$FileName"
|
||||||
7z x $FileName
|
7z x $FileName
|
||||||
cp -rf v2rayN-${Arch}/* $OutputPath
|
cp -rf v2rayN-${Arch}/* $OutputPath
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ cat >"$PackagePath/v2rayN.app/Contents/Info.plist" <<-EOF
|
||||||
<key>CFBundleIconName</key>
|
<key>CFBundleIconName</key>
|
||||||
<string>AppIcon</string>
|
<string>AppIcon</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>2dust.v2rayN</string>
|
<string>cg3s.v2rayN</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>v2rayN</string>
|
<string>v2rayN</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ OutputPath="$2"
|
||||||
OutputArch="v2rayN-${Arch}"
|
OutputArch="v2rayN-${Arch}"
|
||||||
FileName="v2rayN-${Arch}.zip"
|
FileName="v2rayN-${Arch}.zip"
|
||||||
|
|
||||||
wget -nv -O $FileName "https://github.com/2dust/v2rayN-core-bin/raw/refs/heads/master/$FileName"
|
wget -nv -O $FileName "https://github.com/cg3s/v2rayN-core-bin/raw/refs/heads/master/$FileName"
|
||||||
|
|
||||||
ZipPath64="./$OutputArch"
|
ZipPath64="./$OutputArch"
|
||||||
mkdir $ZipPath64
|
mkdir $ZipPath64
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue