forked from dfdragon/kcptun_gclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kcptun_gclient.dpr
42 lines (36 loc) · 1.12 KB
/
kcptun_gclient.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
program kcptun_gclient;
{$IFOPT D-}{$WEAKLINKRTTI ON}{$ENDIF}
{$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])}
uses
Vcl.Forms,
System.SysUtils,
Winapi.Windows,
Main in 'Main.pas' {FMain},
Class_ClientNode in 'Class_ClientNode.pas',
PublicVar in 'PublicVar.pas',
Interface_op in 'Interface_op.pas',
Thread_ExecDOSCommand in 'Thread_ExecDOSCommand.pas',
VerInfo in 'VerInfo.pas',
OneCopy in 'OneCopy.pas',
PublicFun in 'PublicFun.pas',
Photo in 'Photo.pas' {FPhoto},
JSONFormatter in 'JSONFormatter.pas',
DelphiZXIngQRCode in 'DelphiZXIngQRCode.pas';
{$R *.res}
{$SetPEFlags IMAGE_FILE_RELOCS_STRIPPED}
var
VerInfoRes: TVerInfoRes;
begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.Title := 'KCPTun 客户端配置管理工具';
VerInfoRes:= TVerInfoRes.Create(Application.ExeName);
try
PublicVar.FileVer:= Copy(VerInfoRes.FileVersion, 1, (LastDelimiter('.', (VerInfoRes.FileVersion)) - 1));
finally
VerInfoRes.Free;
end; //取EXE文件的版本信息
Application.CreateForm(TFMain, FMain);
Application.CreateForm(TFPhoto, FPhoto);
Application.Run;
end.