Revert "Add patch to fix #8276"

This reverts commit d6e40fb7f5.

We do not need this manual patch as it is the part of the code now.
This commit is contained in:
2025-11-10 00:01:57 +03:00
parent 65a8bedb45
commit 2f0299a32d
3 changed files with 0 additions and 35 deletions

View File

@@ -10,9 +10,6 @@ Arch="linux-64"
OutputPath="$(mktemp -d)"
Version="$1"
# Apply patches before building
git apply ./patches/0001-fix-automatic-connection.patch
PROJ="./v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj"
dotnet restore "$PROJ"
sudo rm -rf "$(dirname "$PROJ")/bin/Release/net8.0"
@@ -22,9 +19,6 @@ dotnet restore "$PROJ"
sudo rm -rf "$(dirname "$PROJ")/bin/Release/net8.0"
dotnet publish "${PROJ}" -c Release -r "linux-x64" --self-contained -p:StripSymbols=true -p:PublishTrimmed=true -o "$OutputPath"
# Revert patches after building
git apply -R ./patches/0001-fix-automatic-connection.patch
export RID_DIR="linux-x64"
download_xray "$OutputPath/bin/xray"
download_singbox "$OutputPath/bin/sing_box"