luojunyuan / AvaloniaAOT

Avalonia Native AOT Templete

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

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

License:MIT License


Languages

Language:C# 57.4%Language:NSIS 40.1%Language:PowerShell 2.6%