Skip to content

Commit

Permalink
build: Reduce app start time by enabling ReadyToRun
Browse files Browse the repository at this point in the history
This will significantly improve the startup time, but wil also more than double the published app size
  • Loading branch information
VMelnalksnis committed Feb 15, 2024
1 parent 6594652 commit 0deb72b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ <h3>Changed</h3>
Removed unused files from published application in wwwroot in
<a href="https://github.com/VMelnalksnis/Gnomeshade/pull/1097">#1097</a>
</li>
<li>
Improved desktop app startup time at the cost of file size in
<a href="https://github.com/VMelnalksnis/Gnomeshade/pull/1098">#1098</a>
</li>
</ul>
</section>

Expand Down
1 change: 1 addition & 0 deletions source/Gnomeshade.Desktop/Gnomeshade.Desktop.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<ApplicationIcon>Assets/avalonia-logo.ico</ApplicationIcon>

<PublishTrimmed>true</PublishTrimmed>
<PublishReadyToRun>true</PublishReadyToRun>
<TrimMode>partial</TrimMode>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
Expand Down

0 comments on commit 0deb72b

Please sign in to comment.