Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 999 Bytes

File metadata and controls

44 lines (27 loc) · 999 Bytes

AvaloniaAOT

Avalonia Native AOT Templete. Smaller size, lower memory usage and faster startup speed. ~18MB size

image

You can disable UPX Compresse to get lower memory usage. ~20MB usage

Prerequisites

Windows

Visual Studio 2022, including .NET 9 & Desktop development with C++ workload.

Ubuntu (20.04+)

sudo apt-get install dotnet9 libicu-dev cmake zlib1g-dev -y

Publish with NativeAOT

dotnet publish -r <RID> -c Release

# Build for Windows example
dotnet publish -r win-x64 -c Release

Builder the installer with NSIS

NSIS installer ~13MB size

pwsh ./publish.ps1

if you builder the installer with nsis, you can ignore upx compression, so you can get better startup performance.

Screenshot

screenshot