Skip to content

fix: remove PublishTrimmed to fix runtime crash, add native lib extract#30

Merged
JusterZhu merged 2 commits into
mainfrom
fix/release-assets
May 20, 2026
Merged

fix: remove PublishTrimmed to fix runtime crash, add native lib extract#30
JusterZhu merged 2 commits into
mainfrom
fix/release-assets

Conversation

@JusterZhu
Copy link
Copy Markdown
Collaborator

Remove PublishTrimmed (Avalonia crashes when trimmed) and add IncludeNativeLibrariesForSelfExtract + IncludeAllContentForSelfExtract to bundle native Skia deps properly.

Self-contained single-file now includes all native libs automatically extracted at runtime.

JusterZhu added 2 commits May 20, 2026 21:02
- Use shorter artifact names (win-x64, linux-x64)
- Use working-directory + zip ../name.zip * for robust packaging
- Add debug step to verify file structure
- Avalonia relies on reflection, trimming breaks runtime
- IncludeNativeLibrariesForSelfExtract bundles native deps
- IncludeAllContentForSelfExtract ensures Avalonia resources work
Copilot AI review requested due to automatic review settings May 20, 2026 13:16
@JusterZhu JusterZhu merged commit c985535 into main May 20, 2026
1 check failed
@JusterZhu JusterZhu deleted the fix/release-assets branch May 20, 2026 13:18
@JusterZhu JusterZhu review requested due to automatic review settings May 20, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant