Skip to content

Commit b503584

Browse files
committed
Use app.ico as icon instead of app.png for setting window
1 parent 52875da commit b503584

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Flow.Launcher/Flow.Launcher.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
<Content Include="Images\*.svg">
6767
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
6868
</Content>
69+
<Content Include="Images\*.ico">
70+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
71+
</Content>
6972
</ItemGroup>
7073

7174
<ItemGroup>
@@ -94,6 +97,12 @@
9497
<ProjectReference Include="..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj" />
9598
</ItemGroup>
9699

100+
<ItemGroup>
101+
<None Update="Images\app.ico">
102+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
103+
</None>
104+
</ItemGroup>
105+
97106
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
98107
<Exec Command="taskkill /f /fi &quot;IMAGENAME eq Flow.Launcher.exe&quot;" />
99108
</Target>

Flow.Launcher/Images/app.ico

114 KB
Binary file not shown.

Flow.Launcher/SettingWindow.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
xmlns:svgc="http://sharpvectors.codeplex.com/svgc/"
1212
x:Class="Flow.Launcher.SettingWindow"
1313
mc:Ignorable="d"
14-
Icon="Images\app.png"
14+
Icon="Images\app.ico"
1515
Title="{DynamicResource flowlauncher_settings}"
1616
ResizeMode="NoResize"
1717
WindowStartupLocation="CenterScreen"
1818
Height="600" Width="800"
1919
Closed="OnClosed"
2020
d:DataContext="{d:DesignInstance vm:SettingWindowViewModel}">
21+
2122
<Window.InputBindings>
2223
<KeyBinding Key="Escape" Command="Close"/>
2324
</Window.InputBindings>

0 commit comments

Comments
 (0)