feat(icon): replace the template's Avalonia logo with a YKanBan icon

The window, the Windows executable and the macOS bundle now use a
placeholder kanban icon (three columns of cards) instead of the template's
avalonia-logo.ico, which had no icon at all on macOS.
This commit is contained in:
doyaGu committed 2026-10-03 22:48:45 -04:00
1 parent 210d0b65ed
commit d29a9ac38e
7 files changed
+6 -2

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+1 -1
View File
@@ -6,7 +6,7 @@
mc:Ignorable="d" d:DesignWidth="1000" d:DesignHeight="640"
x:Class="YKanBan.Views.MainWindow"
x:DataType="vm:MainWindowViewModel"
Icon="/Assets/avalonia-logo.ico"
Icon="/Assets/ykanban.ico"
Title="{Binding Title}"
Width="1000" Height="640" MinWidth="720" MinHeight="480">
+1
View File
@@ -7,6 +7,7 @@
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>Assets\ykanban.ico</ApplicationIcon>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>
+2
View File
@@ -8,6 +8,8 @@
<string>YKanBan</string>
<key>CFBundleIdentifier</key>
<string>cn.blumia.code.yyc12345.ykanban</string>
<key>CFBundleIconFile</key>
<string>ykanban.icns</string>
<key>CFBundleExecutable</key>
<string>YKanBan</string>
<key>CFBundlePackageType</key>
Binary file not shown.
+2 -1
View File
@@ -45,8 +45,9 @@ case "$rid" in
;;
osx-*)
app="$staging/YKanBan.app"
mkdir -p "$app/Contents/MacOS"
mkdir -p "$app/Contents/MacOS" "$app/Contents/Resources"
cp -R "$publish_dir/." "$app/Contents/MacOS/"
cp "$script_dir/macos/ykanban.icns" "$app/Contents/Resources/"
chmod +x "$app/Contents/MacOS/YKanBan"
sed "s/@VERSION@/${version}/g" "$script_dir/macos/Info.plist" > "$app/Contents/Info.plist"
if command -v codesign > /dev/null 2>&1; then