Skip to content

Commit

Permalink
Some fixes.
Browse files Browse the repository at this point in the history
Added: Build info
  • Loading branch information
Al-Muhandis committed Oct 11, 2020
1 parent 7d332fb commit 5da71d5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
9 changes: 7 additions & 2 deletions shellthread.pas
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,13 @@ procedure TShellThread.Execute;
OutputStd;
while not Terminated do
begin
FBot.getUpdatesEx(0, FLPTimeout);
OutputStd;
try
FBot.getUpdatesEx(0, FLPTimeout);
OutputStd;
except
on E: Exception do
Logger.Error(E.ClassName+': '+E.Message);
end;
end;
except
on E: Exception do
Expand Down
9 changes: 8 additions & 1 deletion tgshd.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
</General>
<VersionInfo>
<UseVersionInfo Value="True"/>
<AutoIncrementBuild Value="True"/>
<MajorVersionNr Value="1"/>
<MinorVersionNr Value="1"/>
<BuildNr Value="2"/>
</VersionInfo>
<BuildModes Count="4">
<Item1 Name="Default" Default="True"/>
<Item2 Name="Debug">
Expand Down Expand Up @@ -134,7 +141,7 @@
<RequiredPackages Count="4">
<Item1>
<PackageName Value="fptelegram"/>
<MinVersion Build="20" Valid="True"/>
<MinVersion Release="1" Valid="True"/>
</Item1>
<Item2>
<PackageName Value="lazdaemon"/>
Expand Down
2 changes: 2 additions & 0 deletions tgshd.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
// ,tgsynapsehttpclientbroker
;

{$R *.res}

begin
Application.Title:='Telegram shell daemon';
Application.Initialize;
Expand Down

0 comments on commit 5da71d5

Please sign in to comment.