Skip to content

Set application name to fix macOS app menu title#1405

Merged
Tyrrrz merged 1 commit into
masterfrom
fix-macos-app-menu-title
Jun 25, 2025
Merged

Set application name to fix macOS app menu title#1405
Tyrrrz merged 1 commit into
masterfrom
fix-macos-app-menu-title

Conversation

@Tyrrrz

@Tyrrrz Tyrrrz commented Jun 25, 2025

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR aims to set the application name in XAML to correct the macOS app menu title.

  • Adds a Name attribute to the root Application element in App.axaml
Comments suppressed due to low confidence (1)

DiscordChatExporter.Gui/App.axaml:11

  • The Name attribute in XAML defines the element's identifier, not the macOS application title. To properly set the app menu title on macOS, configure the AppBuilder (e.g., in Program.cs) with .WithAppName("DiscordChatExporter") or use AvaloniaNativePlatformOptions.AppName.
    Name="DiscordChatExporter"

@Tyrrrz
Tyrrrz merged commit 5405e61 into master Jun 25, 2025
25 checks passed
@Tyrrrz
Tyrrrz deleted the fix-macos-app-menu-title branch June 25, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants