Skip to content

Commit 7117af0

Browse files
committed
v2.3 + VMESS+TLS+gRPC
1 parent 0ca7163 commit 7117af0

File tree

16 files changed

+46
-22
lines changed

16 files changed

+46
-22
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ A small and nimble GUI for [XRay-core](https://github.com/XTLS/Xray-core): launc
77

88
**Support (without obfs):**
99
+ Shadowsocks
10-
+ VMESS, + TLS, + WS, + WS + TLS, + KCP
11-
+ VLESS, + TLS, + WS, + WS + TLS, + gRPC, + gPRC + TLS, + KCP, + REALITY
10+
+ VMESS, + TLS, + WS, + WS + TLS, + KCP + gRPC
11+
+ VLESS, + TLS, + WS, + WS + TLS, + gRPC, + gRPC + TLS, + KCP, + REALITY
1212
+ Trojan, + WS, + gRPC
1313

1414
Starting with `XRayGUI-v1.6`, support for `XTLS-Reality` and a generator of simple but reliable Client-Server configurations have been introduced ("R" button).

xraygui/backup/unit1.pas

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,17 @@ procedure TMainForm.CreateVMESSConfig(VMESSURL, PORT, SAVEPATH: string);
429429
S.Add(' "path": "' + VmessDecode(VMESSURL, 'path') + '"');
430430
S.Add(' },');
431431
end;
432+
433+
//GRPC
434+
if VmessDecode(VMESSURL, 'net') = 'grpc' then
435+
begin
436+
S.Add(' "grpcSettings": {');
437+
S.Add(' "serviceName": "' +
438+
VmessDecode(VMESSURL, 'path') + '"');
439+
S.Add(' },');
440+
S.Add(' "network": "' + VmessDecode(VMESSURL, 'net') + '",');
441+
end;
442+
432443
if VmessDecode(VMESSURL, 'net') = 'kcp' then
433444
begin
434445
S.Add(' "network": "kcp",');
@@ -488,10 +499,10 @@ procedure TMainForm.CreateVMESSConfig(VMESSURL, PORT, SAVEPATH: string);
488499
S.Add(' "allowInsecure": true,');
489500
S.Add(' "fingerprint": "chrome",');
490501
S.Add(' "disableSystemRoot": false');
491-
S.Add(' },');
492-
S.Add(' "xtlsSettings": {');
502+
S.Add(' },');
503+
S.Add(' "xtlsSettings": {');
493504
S.Add(' "disableSystemRoot": false');
494-
S.Add(' }');
505+
S.Add(' }');
495506
S.Add(' },');
496507
S.Add(' "tag": "proxy"');
497508
S.Add(' },');
@@ -957,7 +968,9 @@ procedure TMainForm.CreateVLESSConfig(VLESSURL, PORT, SAVEPATH: string);
957968
//Не все серверы перешли на эту опцию, временно оставляем (direct) для совместимости
958969
if VlessDecode(VLESSURL, 'security') = 'xtls' then
959970
S.Add(' "flow": "xtls-rprx-direct",');
960-
if (VlessDecode(VLESSURL, 'security') = 'reality') or (VlessDecode(VLESSURL, 'flow') = 'xtls-rprx-vision') then
971+
//XRayGUI-v2.2 (update flow)
972+
if (VlessDecode(VLESSURL, 'security') = 'reality') or
973+
(VlessDecode(VLESSURL, 'flow') = 'xtls-rprx-vision') then
961974
S.Add(' "flow": "' +
962975
VlessDecode(VLESSURL, 'flow') + '",');
963976

xraygui/backup/xraygui.lpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Version Value="12"/>
55
<General>
66
<SessionStorage Value="InProjectDir"/>
7-
<Title Value="XRayGUI v2.2"/>
7+
<Title Value="XRayGUI v2.3"/>
88
<Scaled Value="True"/>
99
<ResourceType Value="res"/>
1010
<UseXPManifest Value="True"/>

xraygui/backup/xraygui.lps

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<IsPartOfProject Value="True"/>
4141
<EditorIndex Value="-1"/>
4242
<CursorPos X="19"/>
43-
<UsageCount Value="80"/>
43+
<UsageCount Value="81"/>
4444
</Unit>
4545
<Unit>
4646
<Filename Value="unit1.pas"/>
@@ -50,9 +50,9 @@
5050
<ResourceBaseClass Value="Form"/>
5151
<UnitName Value="Unit1"/>
5252
<IsVisibleTab Value="True"/>
53-
<TopLine Value="951"/>
54-
<CursorPos X="109" Y="960"/>
55-
<UsageCount Value="80"/>
53+
<TopLine Value="481"/>
54+
<CursorPos X="32" Y="501"/>
55+
<UsageCount Value="81"/>
5656
<Loaded Value="True"/>
5757
<LoadedDesigner Value="True"/>
5858
</Unit>
@@ -62,21 +62,21 @@
6262
<EditorIndex Value="-1"/>
6363
<TopLine Value="14"/>
6464
<CursorPos X="19"/>
65-
<UsageCount Value="79"/>
65+
<UsageCount Value="80"/>
6666
</Unit>
6767
<Unit>
6868
<Filename Value="portscan_trd.pas"/>
6969
<IsPartOfProject Value="True"/>
7070
<EditorIndex Value="-1"/>
7171
<CursorPos X="21"/>
72-
<UsageCount Value="59"/>
72+
<UsageCount Value="60"/>
7373
</Unit>
7474
<Unit>
7575
<Filename Value="update_trd.pas"/>
7676
<IsPartOfProject Value="True"/>
7777
<EditorIndex Value="-1"/>
7878
<CursorPos X="20"/>
79-
<UsageCount Value="53"/>
79+
<UsageCount Value="54"/>
8080
</Unit>
8181
<Unit>
8282
<Filename Value="reality_gen.pas"/>
@@ -86,7 +86,7 @@
8686
<ResourceBaseClass Value="Form"/>
8787
<EditorIndex Value="-1"/>
8888
<CursorPos X="19"/>
89-
<UsageCount Value="30"/>
89+
<UsageCount Value="31"/>
9090
</Unit>
9191
</Units>
9292
<JumpHistory HistoryIndex="28">
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

xraygui/lib/x86_64-linux/unit1.o

2.09 KB
Binary file not shown.

xraygui/lib/x86_64-linux/unit1.ppu

134 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)