Repository navigation
Package the app as MSIX for the Microsoft Store - #14
Open
cookingwithsimon wants to merge 5 commits into
Open
cookingwithsimon wants to merge 5 commits into
cookingwithsimon wants to merge 5 commits into
Conversation
Checks GitHub's latest release a few seconds after start (release builds only, can be turned off), with Check now in Settings. Install and restart downloads the new exe, checks the published SHA-256, swaps it in, and starts it; any failure keeps the current version. Offline checks fail quietly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Z4ft1XCUSiTXomAzGqHci
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Z4ft1XCUSiTXomAzGqHci
The single-file analyzer (IL3000) rejects Assembly.Location in the published build. Look for ProDHCPServer.dll beside the exe instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Z4ft1XCUSiTXomAzGqHci
- packaging/msix: manifest (runFullTrust + allowElevation, Windows 10 1809+) and tile images from app.ico. - tools/build-msix.ps1 packs the single-file exe; -TestSign signs a copy with a throwaway certificate. - Build and test: builds a test-signed MSIX, installs and starts it on the runner, uploads it. - Release: builds the unsigned Store package when the STORE_* repository variables are set. - A copy running from an MSIX package hides the GitHub update check; the Store updates it. - PRIVACY.md for the Store listing, docs/microsoft-store.md (Simon's steps, admin-rights question for Microsoft) and docs/hardware-test-msix.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Z4fsxMBt2xZRseV2z4FFe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014Z4fsxMBt2xZRseV2z4FFe
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.
Requested by Simon · project thread
Stacked on #13 (the in-app updater): merge #13 first and this diff shrinks to the Store changes.
What changes for the user
Before: the only way to get ProDHCPServer was the unsigned exe from GitHub, with SmartScreen's "Windows protected your PC" warning.
After:
Important: Microsoft only lists apps that need administrator rights after approving the
allowElevationcapability "under strict criteria".docs/microsoft-store.mdhas the email to send them first, and every step only Simon can do (free account, reserve the name, three repo variables, the submission and listing text).How
packaging/msix/AppxManifest.xml: full-trust desktop app,runFullTrust+allowElevation, Windows 10 1809+. Tile images areapp.icoresized.tools/build-msix.ps1: lays out the single-file exe + manifest and runs MakeAppx.-TestSignsigns a copy with a throwaway self-signed certificate and exports the.cer.tools/msix-smoke-test.ps1installs it on the runner, starts it with settings open, screenshotsmsix-settings.pngand uninstalls. Artifact:ProDHCPServer-msix-test.STORE_IDENTITY_NAME,STORE_PUBLISHERandSTORE_PUBLISHER_DISPLAY_NAMErepository variables are set, builds the unsigned Store package into the run artifact (not the GitHub release page).Windows/AppPackage.cs:IsPackagedviaGetCurrentPackageFullName, falling back to "runs from\WindowsApps\" for the elevated restart, which may start without package identity.UpdateViewModeltakes it and turns the checker off.PRIVACY.md: the Store requires a privacy policy for desktop apps.Testing
docs/hardware-test-msix.md(admin prompt, firewall rule, adapter restore and crash recovery from an MSIX install)Generated by Claude Code