Implement dual package system to reduce update download size from 60MB to 0.5MB#3
Merged
lsd-techno merged 4 commits intomainfrom Sep 7, 2025
Merged
Implement dual package system to reduce update download size from 60MB to 0.5MB#3lsd-techno merged 4 commits intomainfrom
lsd-techno merged 4 commits intomainfrom
Conversation
Contributor
Author
|
@lsd-techno 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs. I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review. |
… (~0.5MB) Co-authored-by: lsd-techno <6795932+lsd-techno@users.noreply.github.com>
…son table Co-authored-by: lsd-techno <6795932+lsd-techno@users.noreply.github.com>
Co-authored-by: lsd-techno <6795932+lsd-techno@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] huge download size
Implement dual package system to reduce update download size from 60MB to 0.5MB
Sep 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses the issue where updates required downloading 60+ MB instead of the desired 0.5MB by implementing a dual package build system.
Problem
The previous fix in PR #1 introduced self-contained .NET publishing which bundles the entire .NET runtime (~60MB) into every artifact. While this solved deployment issues, it created a new problem: users downloading updates had to download the full 67.5MB package even when they already had .NET installed.
Solution
Created two distinct build outputs to serve different use cases:
Full Install Package (~60MB)
--self-contained truewith complete .NET runtimefull-installUpdate Package (~0.5MB)
--self-contained false(framework-dependent)update-packageKey Changes
GitHub Actions Workflow:
Documentation:
Impact
Users can now choose the appropriate package for their situation, dramatically reducing download times and bandwidth usage for updates while maintaining the reliability of self-contained installations for new users.
Fixes #2.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.