Skip to content

How can I hide the Dock icon on MacOS? Info.plist not working #13568

Answered by thevortexcloud
Irasil asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately, this is all new to me, and I don't quite understand what I need to do. Am I correct in understanding that I simply need to set ShowInDock to false?

If I am reading all the code correctly, yes. I however still have no Mac to test on or any real experience programming for Macs.

If so, I don't know how to do that.

Avalonia allows for setting a bunch of platform specific options during Launch. Typically you do something like

class Program {
    // Initialization code. Don't use any Avalonia, third-party APIs or any
    // SynchronizationContext-reliant code before AppMain is called: things aren't initialized
    // yet and stuff might break.
    [STAThread]
    public static 

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@thevortexcloud
Comment options

Comment options

You must be logged in to vote
10 replies
@Irasil
Comment options

@thevortexcloud
Comment options

@Irasil
Comment options

@thevortexcloud
Comment options

Answer selected by Irasil
@Irasil
Comment options

@thevortexcloud
Comment options

@timunie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants