Skip to content

Commit

Permalink
add: 应用图标
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Apr 26, 2024
1 parent 58549e6 commit 2193e91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions llcomNext/LLCOM/LLCOM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<ApplicationIcon>Assets\llcom-logo.ico</ApplicationIcon>
</PropertyGroup>

<ItemGroup>
<Folder Include="Models\" />
<AvaloniaResource Include="Assets\**" />
</ItemGroup>

<ItemGroup>
<Content Include="Assets\llcom-logo.ico" />
</ItemGroup>


<ItemGroup>
<PackageReference Include="Avalonia" Version="11.0.10" />
Expand Down
3 changes: 2 additions & 1 deletion llcomNext/LLCOM/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:LLCOM.ViewModels"
Title="LLCOM"
Title="LLCOM - Next"
d:DesignHeight="450"
d:DesignWidth="800"
x:DataType="vm:MainWindowViewModel"
Icon="/Assets/llcom-logo.ico"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">

<Design.DataContext>
Expand Down

0 comments on commit 2193e91

Please sign in to comment.