feat: add application icon

This commit is contained in:
tux
2025-07-05 21:10:18 +05:30
parent a76c28d439
commit de59950fc1
3 changed files with 6 additions and 0 deletions

BIN
assets/highminded.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View File

@@ -1,5 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<ApplicationIcon>assets\highminded.ico</ApplicationIcon>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net9.0</TargetFramework> <TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
@@ -40,6 +41,10 @@
<PackageReference Include="SoundFlow" Version="1.1.1"/> <PackageReference Include="SoundFlow" Version="1.1.1"/>
</ItemGroup> </ItemGroup>
<ItemGroup>
<AvaloniaResource Include="assets\**"/>
</ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Update="ui\windows\MainWindow.axaml.cs"> <Compile Update="ui\windows\MainWindow.axaml.cs">
<DependentUpon>MainWindow.axaml</DependentUpon> <DependentUpon>MainWindow.axaml</DependentUpon>

View File

@@ -7,6 +7,7 @@
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="highminded.ui.windows.MainWindow" x:Class="highminded.ui.windows.MainWindow"
x:DataType="vm:MainViewModel" x:DataType="vm:MainViewModel"
Icon="/assets/highminded.ico"
Title="highminded" Title="highminded"
Height="600" Height="600"
Width="800" Width="800"