- Added 1MB size limit to `ReadHashFromFile` in `CheckHashViewModel`. - Added warning log if file is too large. - Added `tests/CheckHash.Tests` project with regression test. - Excluded `tests/**` from `CheckHash.csproj` to prevent duplicate compilation. - Added Sentinel journal entry in `.jules/sentinel.md`.
66 lines
2.7 KiB
XML
66 lines
2.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
|
|
|
<!-- Icon for Windows -->
|
|
<ApplicationIcon>Assets\icon\favicon.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<AvaloniaResource Include="Assets\**"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="tests\**" />
|
|
<EmbeddedResource Remove="tests\**" />
|
|
<None Remove="tests\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="11.3.11"/>
|
|
<PackageReference Include="Avalonia.Controls.ColorPicker" Version="11.3.11"/>
|
|
<PackageReference Include="Avalonia.Controls.DataGrid" Version="11.3.11"/>
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.3.11"/>
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.11"/>
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.11"/>
|
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.11">
|
|
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1"/>
|
|
<PackageReference Include="Material.Icons.Avalonia" Version="2.4.1"/>
|
|
<PackageReference Include="Velopack" Version="0.0.1298"/>
|
|
</ItemGroup>
|
|
|
|
<!-- Resource (Resx) -->
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Lang\Resources.resx">
|
|
<Generator>PublicResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<Compile Update="Lang\Resources.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
|
|
<!-- Icon on macOS -->
|
|
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64' or '$(RuntimeIdentifier)' == 'osx-arm64'">
|
|
<CFBundleIconFile>icons.icns</CFBundleIconFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64' or '$(RuntimeIdentifier)' == 'osx-arm64'">
|
|
<Content Include="Assets\icon\icons.icns">
|
|
<Link>icons.icns</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<PublishState>Included</PublishState>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project>
|