You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2025. It is now read-only.
Since Avalonia UI is cross-platform, it is possible to distribute the program for macOS.
I took some time to look into this, and found out that Ryujinx has a set of build scripts to do this. So I copied and pasted them into my fork, and with only a few changes, it just works!
Modifications I made:
All libs needed by this app are already universal binaries (both x86_64 and arm64e), so I removed the python script to do this;
To make the folder structure more straightforward, I added PublishSingleFile=true as argument to the dotnet publish command;
To make the app independent from external .Net Runtime, I also added --self-contained true;
The self-contained Avalonia UI app is too big, so I added PublishTrimmed=true to reduce binary size.
The output macOS App Bundle has folder structure like this: