Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 9e430b4

Browse files
authored
Merge pull request #25 from 10people/master
Fix in string 'steam'
2 parents d3ac8ea + 881e35d commit 9e430b4

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

V2RayW/Program.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,12 @@ public static bool generateConfigJson()
338338
json.outbound.settings.vnext[0].users[0].security = (new string[] { "aes-128-cfb", "aes-128-gcm", "chacha20-poly1305" })[profiles[selectedServerIndex].security % 3];
339339

340340
var ts = JObject.Parse(Properties.Settings.Default.transportSettings);
341-
//json.outbound.streamSettings.tcpSettings = ts["tcpSettings"];
342-
//json.outbound.streamSettings.kcpSettings = ts["kcpSettings"];
343-
//json.outbound.streamSettings.wsSettings = ts["wsSettings"];
344-
json.outbound.streamSettings = ts;
341+
json.outbound.streamSettings.security = ts["security"];
342+
json.outbound.streamSettings.tlsSettings = ts["tlsSettings"];
343+
json.outbound.streamSettings.tcpSettings = ts["tcpSettings"];
344+
json.outbound.streamSettings.kcpSettings = ts["kcpSettings"];
345+
json.outbound.streamSettings.wsSettings = ts["wsSettings"];
346+
//json.outbound.streamSettings = ts;
345347
json.outbound.streamSettings.network = (new string[] { "tcp", "kcp", "ws" })[profiles[selectedServerIndex].network % 3];
346348

347349
json.outbound.mux = JObject.Parse(Properties.Settings.Default.mux);

V2RayW/V2RayW.csproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@
5656
<PropertyGroup>
5757
<ApplicationIcon>Resources\vw256.ico</ApplicationIcon>
5858
</PropertyGroup>
59-
<PropertyGroup>
60-
<ManifestCertificateThumbprint>C703DBF0FD6FDFEEAFBC3E20CAF1244B469CEBBD</ManifestCertificateThumbprint>
61-
</PropertyGroup>
62-
<PropertyGroup>
63-
<ManifestKeyFile>V2RayW_TemporaryKey.pfx</ManifestKeyFile>
64-
</PropertyGroup>
65-
<PropertyGroup>
66-
<GenerateManifests>true</GenerateManifests>
67-
</PropertyGroup>
68-
<PropertyGroup>
69-
<SignManifests>false</SignManifests>
70-
</PropertyGroup>
7159
<ItemGroup>
7260
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
7361
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>

0 commit comments

Comments
 (0)