Repository navigation
v0.3.1
AirPDF 0.3.1
The Windows build is compiled ahead of time, so the reader starts almost immediately.
Startup
- Time to first window on Windows is now 0.7 s, down from 5.0 s. Nothing is compiled at
startup any more. The old cost was spread evenly across Avalonia initialisation, XAML
loading and first layout rather than sitting in one slow call, which is why this needed
ahead-of-time compilation rather than tuning. - The download grows from 33.4 MB to 35.0 MB. The uncompressed output is larger (60 MB
against 28 MB), but Velopack compresses the payload.
Under the hood
- The Windows release and every pull request now build with NativeAOT and fail on any AOT or
trimming warning, because either can remove a reflection path that only fails at runtime.
A trimmed build once stopped writing the settings file exactly that way. - Velopack is no longer rooted for trimming. Rooting it made the AOT compiler compile a COM
shortcut class whose IL cannot be compiled, which warned that it would always throw; the
app never reaches that code, and leaving it trimmable removes the warning and 1.1 MB. - The update path is verified on the AOT build rather than assumed: feed parsing, download
and package unpacking all work. - macOS and Linux builds are unchanged for this release.