Skip to content

Commit

Permalink
Fixing the input, improving csporj file
Browse files Browse the repository at this point in the history
  • Loading branch information
Muaath5 committed Jan 1, 2022
1 parent 8de2b20 commit b93445f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 51 deletions.
82 changes: 32 additions & 50 deletions AutoReplyUserBot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,64 +14,46 @@
<RepositoryType>public</RepositoryType>
<RepositoryUrl>https://github.com/Muaath5/AutoReplyUserBot</RepositoryUrl>
<PackageReleaseNotes>- Added more commands
- Updated to TDLib 1.7.10
- Improved /state command output</PackageReleaseNotes>
- Updated to TDLib 1.8.0</PackageReleaseNotes>
<PackageTags>bot;userbot;telegram;tdlib;automation</PackageTags>
<PackageProjectUrl>https://github.com/Muaath5/AutoReplyUserBot</PackageProjectUrl>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<FileVersion>1.1.0.0</FileVersion>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DefineConstants>DEBUG;TRACE;ANY_CPU</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<DefineConstants>DEBUG;TRACE;X86</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<DefineConstants>DEBUG;TRACE;X64</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DefineConstants>TRACE;ANY_CPU</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<DefineConstants>TRACE;X86</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<DefineConstants>TRACE;X64</DefineConstants>
</PropertyGroup>

<ItemGroup Condition="'$(Platform)'=='x86'">
<Reference Include="Telegram.Td">
<HintPath>..\TDLibBinaries\c#\windows\v1.7.10\x86\release\Telegram.Td.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup Condition="'$(Platform)'=='x64'">
<Reference Include="Telegram.Td">
<HintPath>..\TDLibBinaries\c#\windows\v1.7.10\x64\release\Telegram.Td.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup Condition="'$(Platform)'=='AnyCPU'">
<ItemGroup>
<Reference Include="Telegram.Td">
<HintPath>..\TDLibBinaries\c#\windows\v1.7.10\x86\release\Telegram.Td.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<HintPath Condition=" '$(Platform)' == 'x86' ">..\TDLibBinaries\c#\windows\latest\x86\release\Telegram.Td.dll</HintPath>
<HintPath Condition=" '$(Platform)' == 'x64' ">..\TDLibBinaries\c#\windows\latest\x64\release\Telegram.Td.dll</HintPath>
</Reference>
</ItemGroup>

<ItemGroup>
<Compile Remove="Properties\**" />
<EmbeddedResource Remove="Properties\**" />
<None Remove="Properties\**" />
<ItemGroup Condition=" '$(Platform)' == 'x86' ">
<Content Include="..\TDLibBinaries\c#\windows\latest\x86\release\zlib1.dll">
<Link>zlib1.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\TDLibBinaries\c#\windows\latest\x86\release\libcrypto-1_1.dll">
<Link>libcrypto-1_1.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\TDLibBinaries\c#\windows\latest\x86\release\libssl-1_1.dll">
<Link>libssl-1_1.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>

</ItemGroup>

<ItemGroup>
<Folder Include="bin\" />
<ItemGroup Condition=" '$(Platform)' == 'x64' ">
<Content Include="..\TDLibBinaries\c#\windows\latest\x64\release\zlib1.dll">
<Link>zlib1.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\TDLibBinaries\c#\windows\latest\x64\release\libcrypto-1_1-x64.dll">
<Link>libcrypto-1_1-x64.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="..\TDLibBinaries\c#\windows\latest\x64\release\libssl-1_1-x64.dll">
<Link>libssl-1_1-x64.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private static bool ProcessConsoleInput(string[] args)
}
else if (consoleInputOpt == "API_HASH" || consoleInputOpt == "TELEGRAM_API_HASH")
{
AppOptions.API_HASH = currentOpt;
AppOptions.API_HASH = currentOpt.ToLower();
}
else if (consoleInputOpt == "LOG_LEVEL")
{
Expand Down

0 comments on commit b93445f

Please sign in to comment.