- mods/TelegramAuth, mods/TelegramAuthBot, mods/WatchTogether: копии из образа с enable: true (правило 1), секции в config/init.conf - TelegramAuth в API-режиме (enable: false -> accsdb/гейт не поднимается), TelegramAuthBot: бот @GatusMonBot, long polling - WatchTogether: customPlugins watchtogether.js, relay /wt/c/ - README: секция про SQLite/volume (первый запуск), таблица модулей, состояние Tg-notify и TelegramAuth, раздел WatchTogether - AGENT: правило 10 дополнено секретами init.conf, §12 переписан, добавлен §13 WatchTogether, список mods/ в §1 - в git bot_token и mutations_api_secret оставлены пустыми (правило 10), реальные значения только в рабочем файле на сервере
25 lines
966 B
XML
25 lines
966 B
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<OutputType>library</OutputType>
|
|
<IsPackable>true</IsPackable>
|
|
<RootNamespace>TelegramAuthBot</RootNamespace>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>disable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Telegram.Bot" Version="22.4.4" />
|
|
<ProjectReference Include="..\..\..\Shared\Shared.csproj" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CopyTelegramBotToModReferences" AfterTargets="ResolveReferences">
|
|
<ItemGroup>
|
|
<_TelegramBotRef Include="@(ReferencePath)" Condition="'%(Filename)' == 'Telegram.Bot'" />
|
|
</ItemGroup>
|
|
<MakeDir Directories="$(MSBuildProjectDirectory)\references" />
|
|
<Copy SourceFiles="@(_TelegramBotRef)" DestinationFolder="$(MSBuildProjectDirectory)\references"
|
|
SkipUnchangedFiles="true" Condition="@(_TelegramBotRef->Count()) != 0" />
|
|
</Target>
|
|
</Project>
|