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