lixinyang123 / AvaloniaAOT

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 8 & Desktop development with C++ workload.

Ubuntu (20.04+)

sudo apt-get install dotnet-sdk-8.0 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

About

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

License:MIT License


Languages

Language:C# 55.3%Language:NSIS 42.0%Language:PowerShell 2.7%