mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 13:42:24 +00:00
use Directory.Packages.props (#6581)
This commit is contained in:
parent
470dec5588
commit
02f4dcbaf7
9 changed files with 246 additions and 210 deletions
9
.github/dependabot.yml
vendored
9
.github/dependabot.yml
vendored
|
@ -1,10 +1,11 @@
|
||||||
# Set update schedule for GitHub Actions
|
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
# Check for updates to GitHub Actions every daily
|
interval: "daily"
|
||||||
|
|
||||||
|
- package-ecosystem: "nuget"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
interval: "daily"
|
interval: "daily"
|
||||||
|
|
33
.github/workflows/build-linux.yml
vendored
33
.github/workflows/build-linux.yml
vendored
|
@ -22,34 +22,39 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
configuration: [Release]
|
configuration: [Release]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
|
- name: Setup
|
||||||
|
uses: actions/setup-dotnet@v4.2.0
|
||||||
|
with:
|
||||||
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd v2rayN
|
cd v2rayN
|
||||||
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r linux-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPath64
|
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r linux-x64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPath64
|
||||||
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r linux-arm64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPathArm64
|
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r linux-arm64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPathArm64
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r linux-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPath64
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r linux-x64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPath64
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r linux-arm64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPathArm64
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r linux-arm64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPathArm64
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.0
|
||||||
with:
|
with:
|
||||||
name: v2rayN-linux
|
name: v2rayN-linux
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/v2rayN/Release/linux*
|
${{ github.workspace }}/v2rayN/Release/linux*
|
||||||
|
|
||||||
# release debian package
|
# release debian package
|
||||||
- name: Package debian
|
- name: Package debian
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
chmod 755 package-debian.sh
|
chmod 755 package-debian.sh
|
||||||
./package-debian.sh $OutputArch $OutputPath64 ${{ github.event.inputs.release_tag }}
|
./package-debian.sh $OutputArch $OutputPath64 ${{ github.event.inputs.release_tag }}
|
||||||
./package-debian.sh $OutputArchArm $OutputPathArm64 ${{ github.event.inputs.release_tag }}
|
./package-debian.sh $OutputArchArm $OutputPathArm64 ${{ github.event.inputs.release_tag }}
|
||||||
|
|
||||||
- name: Upload deb to release
|
- name: Upload deb to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
@ -59,12 +64,12 @@ jobs:
|
||||||
tag: ${{ github.event.inputs.release_tag }}
|
tag: ${{ github.event.inputs.release_tag }}
|
||||||
file_glob: true
|
file_glob: true
|
||||||
|
|
||||||
- name: Package AppImage
|
- name: Package AppImage
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
chmod 755 package-appimage.sh
|
chmod 755 package-appimage.sh
|
||||||
./package-appimage.sh $OutputArch $OutputPath64 ${{ github.event.inputs.release_tag }}
|
./package-appimage.sh $OutputArch $OutputPath64 ${{ github.event.inputs.release_tag }}
|
||||||
./package-appimage.sh $OutputArchArm $OutputPathArm64 ${{ github.event.inputs.release_tag }}
|
./package-appimage.sh $OutputArchArm $OutputPathArm64 ${{ github.event.inputs.release_tag }}
|
||||||
|
|
||||||
- name: Upload AppImage to release
|
- name: Upload AppImage to release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
@ -77,7 +82,7 @@ jobs:
|
||||||
# release zip archive
|
# release zip archive
|
||||||
- name: Package release zip archive
|
- name: Package release zip archive
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
chmod 755 package-release-zip.sh
|
chmod 755 package-release-zip.sh
|
||||||
./package-release-zip.sh $OutputArch $OutputPath64
|
./package-release-zip.sh $OutputArch $OutputPath64
|
||||||
./package-release-zip.sh $OutputArchArm $OutputPathArm64
|
./package-release-zip.sh $OutputArchArm $OutputPathArm64
|
||||||
|
|
25
.github/workflows/build-osx.yml
vendored
25
.github/workflows/build-osx.yml
vendored
|
@ -22,34 +22,39 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
configuration: [Release]
|
configuration: [Release]
|
||||||
|
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
|
- name: Setup
|
||||||
|
uses: actions/setup-dotnet@v4.2.0
|
||||||
|
with:
|
||||||
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd v2rayN
|
cd v2rayN
|
||||||
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r osx-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPath64
|
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r osx-x64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPath64
|
||||||
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r osx-arm64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPathArm64
|
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r osx-arm64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPathArm64
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r osx-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPath64
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r osx-x64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPath64
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r osx-arm64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPathArm64
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r osx-arm64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -o $OutputPathArm64
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.0
|
||||||
with:
|
with:
|
||||||
name: v2rayN-macos
|
name: v2rayN-macos
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/v2rayN/Release/macos*
|
${{ github.workspace }}/v2rayN/Release/macos*
|
||||||
|
|
||||||
# release osx package
|
# release osx package
|
||||||
- name: Package osx
|
- name: Package osx
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
brew install create-dmg
|
brew install create-dmg
|
||||||
chmod 755 package-osx.sh
|
chmod 755 package-osx.sh
|
||||||
./package-osx.sh $OutputArch $OutputPath64 ${{ github.event.inputs.release_tag }}
|
./package-osx.sh $OutputArch $OutputPath64 ${{ github.event.inputs.release_tag }}
|
||||||
./package-osx.sh $OutputArchArm $OutputPathArm64 ${{ github.event.inputs.release_tag }}
|
./package-osx.sh $OutputArchArm $OutputPathArm64 ${{ github.event.inputs.release_tag }}
|
||||||
|
|
||||||
- name: Upload dmg to release
|
- name: Upload dmg to release
|
||||||
|
@ -63,7 +68,7 @@ jobs:
|
||||||
# release zip archive
|
# release zip archive
|
||||||
- name: Package release zip archive
|
- name: Package release zip archive
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
chmod 755 package-release-zip.sh
|
chmod 755 package-release-zip.sh
|
||||||
./package-release-zip.sh $OutputArch $OutputPath64
|
./package-release-zip.sh $OutputArch $OutputPath64
|
||||||
./package-release-zip.sh $OutputArchArm $OutputPathArm64
|
./package-release-zip.sh $OutputArchArm $OutputPathArm64
|
||||||
|
|
24
.github/workflows/build-windows.yml
vendored
24
.github/workflows/build-windows.yml
vendored
|
@ -23,39 +23,39 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
configuration: [Release]
|
configuration: [Release]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4.2.2
|
||||||
|
|
||||||
- name: Setup
|
- name: Setup
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd v2rayN
|
cd v2rayN
|
||||||
dotnet publish ./v2rayN/v2rayN.csproj -c Release -r win-x64 --self-contained false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPath64
|
dotnet publish ./v2rayN/v2rayN.csproj -c Release -r win-x64 --self-contained=false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPath64
|
||||||
dotnet publish ./v2rayN/v2rayN.csproj -c Release -r win-arm64 --self-contained false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPathArm64
|
dotnet publish ./v2rayN/v2rayN.csproj -c Release -r win-arm64 --self-contained=false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPathArm64
|
||||||
dotnet publish ./v2rayN/v2rayN.csproj -c Release -r win-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPath64Sc
|
dotnet publish ./v2rayN/v2rayN.csproj -c Release -r win-x64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPath64Sc
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r win-x64 --self-contained false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPath64
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r win-x64 --self-contained=false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPath64
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r win-arm64 --self-contained false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPathArm64
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r win-arm64 --self-contained=false -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:EnableWindowsTargeting=true -o $OutputPathArm64
|
||||||
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r win-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -p:EnableWindowsTargeting=true -o $OutputPath64Sc
|
dotnet publish ./AmazTool/AmazTool.csproj -c Release -r win-x64 --self-contained=true -p:PublishReadyToRun=false -p:PublishSingleFile=true -p:PublishTrimmed=true -p:EnableWindowsTargeting=true -o $OutputPath64Sc
|
||||||
|
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.6.0
|
||||||
with:
|
with:
|
||||||
name: v2rayN-windows
|
name: v2rayN-windows
|
||||||
path: |
|
path: |
|
||||||
${{ github.workspace }}/v2rayN/Release/windows*
|
${{ github.workspace }}/v2rayN/Release/windows*
|
||||||
|
|
||||||
# release zip archive
|
# release zip archive
|
||||||
- name: Package release zip archive
|
- name: Package release zip archive
|
||||||
if: github.event.inputs.release_tag != ''
|
if: github.event.inputs.release_tag != ''
|
||||||
run: |
|
run: |
|
||||||
chmod 755 package-release-zip.sh
|
chmod 755 package-release-zip.sh
|
||||||
./package-release-zip.sh $OutputArch $OutputPath64
|
./package-release-zip.sh $OutputArch $OutputPath64
|
||||||
./package-release-zip.sh $OutputArchArm $OutputPathArm64
|
./package-release-zip.sh $OutputArchArm $OutputPathArm64
|
||||||
|
|
33
Directory.Packages.props
Normal file
33
Directory.Packages.props
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<Project>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||||
|
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
||||||
|
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled>
|
||||||
|
<NoWarn>$(NoWarn);NU1507</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageVersion Include="Avalonia.Controls.DataGrid" Version="11.2.3"/>
|
||||||
|
<PackageVersion Include="Avalonia.Desktop" Version="11.2.3" />
|
||||||
|
<PackageVersion Include="Avalonia.Diagnostics" Version="11.2.3" />
|
||||||
|
<PackageVersion Include="Avalonia.ReactiveUI" Version="11.2.3" />
|
||||||
|
<PackageVersion Include="CliWrap" Version="3.7.1" />
|
||||||
|
<PackageVersion Include="Downloader" Version="3.3.3" />
|
||||||
|
<PackageVersion Include="H.NotifyIcon.Wpf" Version="2.2.0" />
|
||||||
|
<PackageVersion Include="MaterialDesignThemes" Version="5.2.1" />
|
||||||
|
<PackageVersion Include="MessageBox.Avalonia" Version="3.2.0" />
|
||||||
|
<PackageVersion Include="QRCoder" Version="1.6.0" />
|
||||||
|
<PackageVersion Include="ReactiveUI.Fody" Version="19.5.41" />
|
||||||
|
<PackageVersion Include="ReactiveUI.WPF" Version="20.1.63" />
|
||||||
|
<PackageVersion Include="Semi.Avalonia" Version="11.2.1.4" />
|
||||||
|
<PackageVersion Include="Semi.Avalonia.DataGrid" Version="11.2.1.4" />
|
||||||
|
<PackageVersion Include="Splat.NLog" Version="15.2.22" />
|
||||||
|
<PackageVersion Include="sqlite-net-pcl" Version="1.9.172" />
|
||||||
|
<PackageVersion Include="TaskScheduler" Version="2.11.0" />
|
||||||
|
<PackageVersion Include="WebDav.Client" Version="2.8.0" />
|
||||||
|
<PackageVersion Include="YamlDotNet" Version="16.3.0" />
|
||||||
|
<PackageVersion Include="ZXing.Net.Bindings.SkiaSharp" Version="0.16.20" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -1,27 +1,27 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Copyright>Copyright © 2017-2025 (GPLv3)</Copyright>
|
<Copyright>Copyright © 2017-2025 (GPLv3)</Copyright>
|
||||||
<FileVersion>1.3.1</FileVersion>
|
<FileVersion>1.3.1</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Resx\Resource.Designer.cs">
|
<Compile Update="Resx\Resource.Designer.cs">
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Resource.resx</DependentUpon>
|
<DependentUpon>Resource.resx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Update="Resx\Resource.resx">
|
<EmbeddedResource Update="Resx\Resource.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -1,83 +1,80 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<Version>7.7.0</Version>
|
<Version>7.7.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Downloader" Version="3.3.3" />
|
|
||||||
<PackageReference Include="ReactiveUI" Version="20.1.63" />
|
|
||||||
<PackageReference Include="ReactiveUI.Fody" Version="19.5.41" />
|
|
||||||
<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
|
|
||||||
<PackageReference Include="Splat.NLog" Version="15.2.22" />
|
|
||||||
<PackageReference Include="WebDav.Client" Version="2.8.0" />
|
|
||||||
<PackageReference Include="YamlDotNet" Version="16.3.0" />
|
|
||||||
<PackageReference Include="QRCoder" Version="1.6.0" />
|
|
||||||
<PackageReference Include="CliWrap" Version="3.7.1" />
|
|
||||||
<PackageReference Include="SkiaSharp.QrCode" Version="0.7.0" />
|
|
||||||
<PackageReference Include="ZXing.Net.Bindings.SkiaSharp" Version="0.16.14" />
|
|
||||||
<PackageReference Include="TaskScheduler" Version="2.11.0" />
|
|
||||||
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<EmbeddedResource Include="Sample\clash_mixin_yaml" />
|
|
||||||
<EmbeddedResource Include="Sample\clash_tun_yaml" />
|
|
||||||
<EmbeddedResource Include="Sample\custom_routing_black" />
|
|
||||||
<EmbeddedResource Include="Sample\custom_routing_global" />
|
|
||||||
<EmbeddedResource Include="Sample\custom_routing_white" />
|
|
||||||
<EmbeddedResource Include="Sample\dns_singbox_normal" />
|
|
||||||
<EmbeddedResource Include="Sample\dns_v2ray_normal" />
|
|
||||||
<EmbeddedResource Include="Sample\pac" />
|
|
||||||
<EmbeddedResource Include="Sample\SampleClientConfig" />
|
|
||||||
<EmbeddedResource Include="Sample\SampleHttpRequest" />
|
|
||||||
<EmbeddedResource Include="Sample\SampleHttpResponse" />
|
|
||||||
<EmbeddedResource Include="Sample\SampleInbound" />
|
|
||||||
<EmbeddedResource Include="Sample\SampleOutbound" />
|
|
||||||
<EmbeddedResource Include="Sample\SingboxSampleClientConfig" />
|
|
||||||
<EmbeddedResource Include="Sample\SingboxSampleOutbound" />
|
|
||||||
<EmbeddedResource Include="Sample\tun_singbox_dns" />
|
|
||||||
<EmbeddedResource Include="Sample\tun_singbox_inbound" />
|
|
||||||
<EmbeddedResource Include="Sample\tun_singbox_rules" />
|
|
||||||
<EmbeddedResource Include="Sample\linux_autostart_config" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Resx\ResUI.Designer.cs">
|
<PackageReference Include="Downloader" />
|
||||||
<DependentUpon>ResUI.resx</DependentUpon>
|
<PackageReference Include="ReactiveUI.Fody" />
|
||||||
<DesignTime>True</DesignTime>
|
<PackageReference Include="sqlite-net-pcl" />
|
||||||
<AutoGen>True</AutoGen>
|
<PackageReference Include="Splat.NLog" />
|
||||||
</Compile>
|
<PackageReference Include="WebDav.Client" />
|
||||||
|
<PackageReference Include="YamlDotNet" />
|
||||||
|
<PackageReference Include="QRCoder" />
|
||||||
|
<PackageReference Include="CliWrap" />
|
||||||
|
<PackageReference Include="ZXing.Net.Bindings.SkiaSharp" />
|
||||||
|
<PackageReference Include="TaskScheduler" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Update="Resx\ResUI.fa-Ir.resx">
|
<EmbeddedResource Include="Sample\clash_mixin_yaml" />
|
||||||
<SubType>Designer</SubType>
|
<EmbeddedResource Include="Sample\clash_tun_yaml" />
|
||||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
<EmbeddedResource Include="Sample\custom_routing_black" />
|
||||||
</EmbeddedResource>
|
<EmbeddedResource Include="Sample\custom_routing_global" />
|
||||||
<EmbeddedResource Update="Resx\ResUI.hu.resx">
|
<EmbeddedResource Include="Sample\custom_routing_white" />
|
||||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
<EmbeddedResource Include="Sample\dns_singbox_normal" />
|
||||||
</EmbeddedResource>
|
<EmbeddedResource Include="Sample\dns_v2ray_normal" />
|
||||||
<EmbeddedResource Update="Resx\ResUI.resx">
|
<EmbeddedResource Include="Sample\pac" />
|
||||||
<SubType>Designer</SubType>
|
<EmbeddedResource Include="Sample\SampleClientConfig" />
|
||||||
<LastGenOutput>ResUI.Designer.cs</LastGenOutput>
|
<EmbeddedResource Include="Sample\SampleHttpRequest" />
|
||||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
<EmbeddedResource Include="Sample\SampleHttpResponse" />
|
||||||
</EmbeddedResource>
|
<EmbeddedResource Include="Sample\SampleInbound" />
|
||||||
<EmbeddedResource Update="Resx\ResUI.ru.resx">
|
<EmbeddedResource Include="Sample\SampleOutbound" />
|
||||||
<SubType>Designer</SubType>
|
<EmbeddedResource Include="Sample\SingboxSampleClientConfig" />
|
||||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
<EmbeddedResource Include="Sample\SingboxSampleOutbound" />
|
||||||
</EmbeddedResource>
|
<EmbeddedResource Include="Sample\tun_singbox_dns" />
|
||||||
<EmbeddedResource Update="Resx\ResUI.zh-Hans.resx">
|
<EmbeddedResource Include="Sample\tun_singbox_inbound" />
|
||||||
<SubType>Designer</SubType>
|
<EmbeddedResource Include="Sample\tun_singbox_rules" />
|
||||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
<EmbeddedResource Include="Sample\linux_autostart_config" />
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Update="Resx\ResUI.zh-Hant.resx">
|
|
||||||
<SubType>Designer</SubType>
|
|
||||||
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
<ItemGroup>
|
||||||
|
<Compile Update="Resx\ResUI.Designer.cs">
|
||||||
|
<DependentUpon>ResUI.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Update="Resx\ResUI.fa-Ir.resx">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Update="Resx\ResUI.hu.resx">
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Update="Resx\ResUI.resx">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<LastGenOutput>ResUI.Designer.cs</LastGenOutput>
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Update="Resx\ResUI.ru.resx">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Update="Resx\ResUI.zh-Hans.resx">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Update="Resx\ResUI.zh-Hant.resx">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -1,56 +1,52 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType>WinExe</OutputType>
|
<PropertyGroup>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<OutputType>WinExe</OutputType>
|
||||||
<Nullable>enable</Nullable>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<ApplicationIcon>Assets\v2rayN.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\v2rayN.ico</ApplicationIcon>
|
||||||
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||||
<Copyright>Copyright © 2017-2025 (GPLv3)</Copyright>
|
<Copyright>Copyright © 2017-2025 (GPLv3)</Copyright>
|
||||||
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
||||||
<AssemblyName>v2rayN</AssemblyName>
|
<AssemblyName>v2rayN</AssemblyName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AvaloniaResource Include="Assets\**" />
|
<PackageReference Include="Avalonia.Controls.DataGrid" />
|
||||||
</ItemGroup>
|
<PackageReference Include="Avalonia.Desktop" />
|
||||||
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" />
|
||||||
<ItemGroup>
|
<PackageReference Include="Avalonia.ReactiveUI" />
|
||||||
<ProjectCapability Include="Avalonia" />
|
<PackageReference Include="MessageBox.Avalonia" />
|
||||||
</ItemGroup>
|
<PackageReference Include="Semi.Avalonia" />
|
||||||
|
<PackageReference Include="Semi.Avalonia.DataGrid" />
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Avalonia" Version="11.2.3" />
|
|
||||||
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.2.3" />
|
|
||||||
<PackageReference Include="Avalonia.Desktop" Version="11.2.3" />
|
|
||||||
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.3" />
|
|
||||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.2.3" />
|
|
||||||
<PackageReference Include="Avalonia.ReactiveUI" Version="11.2.3" />
|
|
||||||
<PackageReference Include="DialogHost.Avalonia" Version="0.9.2" />
|
|
||||||
<PackageReference Include="MessageBox.Avalonia" Version="3.2.0" />
|
|
||||||
<PackageReference Include="Semi.Avalonia" Version="11.2.1.4" />
|
|
||||||
<PackageReference Include="Semi.Avalonia.DataGrid" Version="11.2.1.4" />
|
|
||||||
<PackageReference Include="ReactiveUI" Version="20.1.63" />
|
|
||||||
<PackageReference Include="ReactiveUI.Fody" Version="19.5.41" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ServiceLib\ServiceLib.csproj" />
|
<AvaloniaResource Include="Assets\**" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<EmbeddedResource Include="Assets\v2rayN.ico">
|
<ProjectCapability Include="Avalonia" />
|
||||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
</ItemGroup>
|
||||||
</EmbeddedResource>
|
|
||||||
</ItemGroup>
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\ServiceLib\ServiceLib.csproj" />
|
||||||
<ItemGroup>
|
</ItemGroup>
|
||||||
<None Update="v2rayN.png">
|
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<ItemGroup>
|
||||||
</None>
|
<EmbeddedResource Include="Assets\v2rayN.ico">
|
||||||
<None Update="v2rayN.icns">
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
</EmbeddedResource>
|
||||||
</None>
|
</ItemGroup>
|
||||||
</ItemGroup>
|
|
||||||
|
<ItemGroup>
|
||||||
</Project>
|
<None Update="v2rayN.png">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Update="v2rayN.icns">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
|
@ -5,35 +5,34 @@
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net8.0-windows10.0.17763</TargetFramework>
|
<TargetFramework>net8.0-windows10.0.17763</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<ApplicationIcon>Resources\v2rayN.ico</ApplicationIcon>
|
<ApplicationIcon>Resources\v2rayN.ico</ApplicationIcon>
|
||||||
<Copyright>Copyright © 2017-2025 (GPLv3)</Copyright>
|
<Copyright>Copyright © 2017-2025 (GPLv3)</Copyright>
|
||||||
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
|
<SupportedOSPlatformVersion>7.0</SupportedOSPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="MaterialDesignThemes" Version="5.2.1" />
|
<PackageReference Include="MaterialDesignThemes" />
|
||||||
<PackageReference Include="H.NotifyIcon.Wpf" Version="2.2.0" />
|
<PackageReference Include="H.NotifyIcon.Wpf" />
|
||||||
<PackageReference Include="ReactiveUI.Fody" Version="19.5.41" />
|
<PackageReference Include="ReactiveUI.WPF" />
|
||||||
<PackageReference Include="ReactiveUI.WPF" Version="20.1.63" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<AdditionalFiles Include="app.manifest" />
|
|
||||||
<EmbeddedResource Include="Resources\v2rayN.ico">
|
|
||||||
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<Resource Include="Resources\NotifyIcon1.ico" />
|
|
||||||
<Resource Include="Resources\NotifyIcon2.ico" />
|
|
||||||
<Resource Include="Resources\NotifyIcon3.ico" />
|
|
||||||
<Resource Include="Resources\NotifyIcon4.ico" />
|
|
||||||
<Resource Include="Resources\v2rayN.ico" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\ServiceLib\ServiceLib.csproj" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
<ItemGroup>
|
||||||
|
<AdditionalFiles Include="app.manifest" />
|
||||||
|
<EmbeddedResource Include="Resources\v2rayN.ico">
|
||||||
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Resource Include="Resources\NotifyIcon1.ico" />
|
||||||
|
<Resource Include="Resources\NotifyIcon2.ico" />
|
||||||
|
<Resource Include="Resources\NotifyIcon3.ico" />
|
||||||
|
<Resource Include="Resources\NotifyIcon4.ico" />
|
||||||
|
<Resource Include="Resources\v2rayN.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\ServiceLib\ServiceLib.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
Loading…
Reference in a new issue