Skip to content

Commit fc4dec6

Browse files
committed
v2.4 + XHTTP support
1 parent c859bfb commit fc4dec6

File tree

10 files changed

+18
-17
lines changed

10 files changed

+18
-17
lines changed

xraygui/backup/unit1.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ procedure TMainForm.CreateVLESSConfig(VLESSURL, PORT, SAVEPATH: string);
996996
begin
997997
S.Add(' "xhttpSettings": {');
998998
S.Add(' "path": "' + VlessDecode(VLESSURL, 'path') + '",');
999-
S.Add(' "hostname": "' +
999+
S.Add(' "host": "' +
10001000
VlessDecode(VLESSURL, 'host') + '"');
10011001
S.Add(' },');
10021002
end;
@@ -1738,8 +1738,8 @@ procedure TMainForm.FormShow(Sender: TObject);
17381738
FShowLogTRD.Priority := tpNormal;
17391739

17401740
//Поток проверки обновлений Xray-Core
1741-
{ FUpdateThread := CheckUpdate.Create(False);
1742-
FUpdateThread.Priority := tpNormal; }
1741+
FUpdateThread := CheckUpdate.Create(False);
1742+
FUpdateThread.Priority := tpNormal;
17431743
end;
17441744

17451745
//Восстанавливаем индекс Check (если есть) + ItemIndex ставим на Check

xraygui/backup/xraygui.lps

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<ResourceBaseClass Value="Form"/>
5151
<UnitName Value="Unit1"/>
5252
<IsVisibleTab Value="True"/>
53-
<TopLine Value="1714"/>
54-
<CursorPos X="38" Y="1742"/>
53+
<TopLine Value="979"/>
54+
<CursorPos X="19" Y="990"/>
5555
<UsageCount Value="82"/>
5656
<Loaded Value="True"/>
5757
<LoadedDesigner Value="True"/>
@@ -90,10 +90,6 @@
9090
</Unit>
9191
</Units>
9292
<JumpHistory HistoryIndex="29">
93-
<Position>
94-
<Filename Value="unit1.pas"/>
95-
<Caret Line="1339" Column="37" TopLine="1309"/>
96-
</Position>
9793
<Position>
9894
<Filename Value="unit1.pas"/>
9995
<Caret Line="1363" Column="29" TopLine="1360"/>
@@ -210,6 +206,10 @@
210206
<Filename Value="unit1.pas"/>
211207
<Caret Line="1564" Column="3" TopLine="1561"/>
212208
</Position>
209+
<Position>
210+
<Filename Value="unit1.pas"/>
211+
<Caret Line="18" Column="45"/>
212+
</Position>
213213
</JumpHistory>
214214
<RunParams>
215215
<FormatVersion Value="2"/>

xraygui/lib/x86_64-linux/unit1.o

272 Bytes
Binary file not shown.

xraygui/lib/x86_64-linux/unit1.ppu

0 Bytes
Binary file not shown.

xraygui/lib/x86_64-linux/xraygui.o

0 Bytes
Binary file not shown.

xraygui/unit1.pas

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,9 @@ procedure TMainForm.CreateVLESSConfig(VLESSURL, PORT, SAVEPATH: string);
996996
begin
997997
S.Add(' "xhttpSettings": {');
998998
S.Add(' "path": "' + VlessDecode(VLESSURL, 'path') + '",');
999-
S.Add(' "hostname": "' +
1000-
VlessDecode(VLESSURL, 'host') + '"');
999+
S.Add(' "host": "' +
1000+
VlessDecode(VLESSURL, 'host') + '",');
1001+
S.Add(' "mode": "auto"');
10011002
S.Add(' },');
10021003
end;
10031004

xraygui/xraygui

0 Bytes
Binary file not shown.

xraygui/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.3.3"/>
7+
<Title Value="XRayGUI v2.4"/>
88
<Scaled Value="True"/>
99
<ResourceType Value="res"/>
1010
<UseXPManifest Value="True"/>

xraygui/xraygui.lps

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@
8989
</Unit>
9090
</Units>
9191
<JumpHistory HistoryIndex="29">
92-
<Position>
93-
<Filename Value="unit1.pas"/>
94-
<Caret Line="1339" Column="37" TopLine="1309"/>
95-
</Position>
9692
<Position>
9793
<Filename Value="unit1.pas"/>
9894
<Caret Line="1363" Column="29" TopLine="1360"/>
@@ -209,6 +205,10 @@
209205
<Filename Value="unit1.pas"/>
210206
<Caret Line="1564" Column="3" TopLine="1561"/>
211207
</Position>
208+
<Position>
209+
<Filename Value="unit1.pas"/>
210+
<Caret Line="18" Column="45"/>
211+
</Position>
212212
</JumpHistory>
213213
<RunParams>
214214
<FormatVersion Value="2"/>

xraygui/xraygui.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
//---
5555

5656
RequireDerivedFormResource := True;
57-
Application.Title:='XRayGUI v2.3.3';
57+
Application.Title:='XRayGUI v2.4';
5858
Application.Scaled:=True;
5959
Application.Initialize;
6060
Application.CreateForm(TMainForm, MainForm);

0 commit comments

Comments
 (0)