Add MGET app branding assets

This commit is contained in:
Ray Berezowski
2026-06-02 20:15:27 -04:00
parent 0567b796e0
commit cf9aa63982
6 changed files with 17 additions and 12 deletions

View File

@@ -28,17 +28,10 @@
Background="{DynamicResource AppSurfaceBrush}"
HorizontalAlignment="Left"
VerticalAlignment="Top">
<Grid>
<TextBlock Text="MGET"
FontSize="22"
FontWeight="Bold"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Foreground="{DynamicResource AppAccentBrush}"/>
<Border Height="8"
VerticalAlignment="Bottom"
Background="{DynamicResource AppAccentBrush}"/>
</Grid>
<Image Source="Assets/AboutLogo.png"
Width="74"
Height="74"
Stretch="UniformToFill"/>
</Border>
<StackPanel Grid.Column="1" VerticalAlignment="Center">

BIN
Assets/AboutLogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 KiB

BIN
Assets/AppIcon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

BIN
Assets/TrayIcon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@@ -90,7 +90,7 @@ public sealed class LauncherController : IDisposable
notifyIcon = new NotifyIcon
{
Text = "Taskbar Launcher",
Icon = SystemIcons.Application,
Icon = LoadTrayIcon(),
Visible = true,
ContextMenuStrip = new ContextMenuStrip()
};
@@ -104,6 +104,12 @@ public sealed class LauncherController : IDisposable
notifyIcon.ContextMenuStrip.Items.Add("Exit", null, (_, _) => System.Windows.Application.Current.Shutdown());
}
private static Icon LoadTrayIcon()
{
string iconPath = Path.Combine(AppContext.BaseDirectory, "Assets", "TrayIcon.ico");
return File.Exists(iconPath) ? new Icon(iconPath) : SystemIcons.Application;
}
private void LaunchItem(LauncherItem item)
{
if (item.Type == LauncherItemType.Menu || string.IsNullOrWhiteSpace(item.Target))

View File

@@ -10,10 +10,16 @@
<DefaultItemExcludes>$(DefaultItemExcludes);bin\**;obj\**;builds\**;_*\**;..\TaskbarLauncher-build\**</DefaultItemExcludes>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<Authors>Ray Berezowski</Authors>
<ApplicationIcon>Assets\AppIcon.ico</ApplicationIcon>
<Version>1.0.0</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<InformationalVersion>1.0.0</InformationalVersion>
</PropertyGroup>
<ItemGroup>
<Content Include="Assets\AboutLogo.png" CopyToOutputDirectory="PreserveNewest" />
<Content Include="Assets\TrayIcon.ico" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>