Repository navigation
feat: portable Windows ZIP with an EXE launcher - #868
Merged
Merged
Conversation
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.
Add a portable Windows ZIP alongside the setup download. Users extract the complete archive and open decompdecomp.exe; Python and the app dependencies are bundled, with no app installation or automatic shortcuts. The native window still requires Microsoft's .NET Framework 4.8 and WebView2 runtime, documented in the archive and download instructions. Projects use this fork's isolated data folder, and explicit DECOMP_HOME settings remain supported.
Compile a small relocatable EXE with Windows' C# compiler, preserving quoted/Unicode arguments and child exit status. Use the existing bundled runtime and icon, strip unrelated Python environment overrides, and prevent portable Setup from installing shortcuts. The build supports -PortableOnly and verifies the extracted archive from a relocated folder: launcher, server imports, actual isolated localhost startup, health and graceful Stop. Release jobs attach both setup and portable downloads; a dedicated PR/manual Windows job builds and uploads the ZIP as a downloadable artifact.
Validation so far: 23 local edition/launcher/Windows-host tests passed, 7 native-platform tests skipped; full lint and diff checks pass. Native Windows CI checks argument forwarding and relocation, then builds and runs the real extracted app before upload. Site cards/instructions, README and roadmap describe the portable option.
This does not publish a new release or modify the existing release. No live app or projects are touched.