mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:56:31 +00:00
add loader and versioning
This commit is contained in:
@@ -122,7 +122,16 @@ public partial class Annotator
|
||||
{ "uploading", "Будь ласка зачекайте, йде зберігання" },
|
||||
{ "enabled", "AI готовий для розпізнавання" }
|
||||
};
|
||||
StatusHelp.Text = messagesDict!.GetValueOrDefault(command.Message, aiDisabledText);
|
||||
|
||||
if (command.Message?.StartsWith("Error") ?? false)
|
||||
{
|
||||
_logger.LogError(command.Message);
|
||||
StatusHelp.Text = command.Message;
|
||||
}
|
||||
|
||||
else
|
||||
StatusHelp.Text = messagesDict!.GetValueOrDefault(command.Message, aiDisabledText);
|
||||
|
||||
if (aiEnabled)
|
||||
StatusHelp.Foreground = aiEnabled ? Brushes.White : Brushes.Red;
|
||||
});
|
||||
|
||||
@@ -7,6 +7,16 @@
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<VersionDate>$([System.DateTime]::UtcNow.ToString("yyyy.MM.dd"))</VersionDate>
|
||||
<VersionSeconds>$([System.Convert]::ToInt32($([System.DateTime]::UtcNow.TimeOfDay.TotalSeconds)))</VersionSeconds>
|
||||
|
||||
<AssemblyVersion>$(VersionDate).$(VersionSeconds)</AssemblyVersion>
|
||||
<FileVersion>$(AssemblyVersion)</FileVersion>
|
||||
<InformationalVersion>$(AssemblyVersion)</InformationalVersion>
|
||||
<Copyright>Copyright @ $([System.DateTime]::UtcNow.ToString("yyyy")) Azaion LLC. All rights reserved.</Copyright>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GMap.NET.WinPresentation" Version="2.1.7" />
|
||||
<PackageReference Include="libc.translation" Version="7.1.1" />
|
||||
|
||||
Reference in New Issue
Block a user