feat(installer): add opt-in -Version dev-build and -ZipPath to install.ps1 - #86
Merged
Merged
Conversation
…l.ps1 -Version dev-build installs the development pre-release. It failed before because the asset name (UTV-dev-windows-x64.zip) does not contain the tag. -ZipPath installs from a zip on disk, such as a CI build artifact, including the zip-in-a-zip the GitHub web page serves for artifacts. The default path (no parameters) and explicit release versions resolve to the same download as before. A new workflow runs the installer on a Windows runner in each mode whenever scripts/install.ps1 changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Michael Oliver <mcoliver@gmail.com>
Adding or editing an unrelated workflow (e.g. the installer test) triggered a full three-platform build. Also end the installer test step with exit 0: robocopy's non-zero success code was failing it after a successful install. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Michael Oliver <mcoliver@gmail.com>
1 task done
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.
Summary
Two opt-in ways to install a build other than the latest release on Windows:
-Version dev-buildinstalls the development pre-release built frommain. This failed before: the script built the URLUTV-dev-build-windows-x64.zip, but the asset isUTV-dev-windows-x64.zip.-ZipPath <file>installs from a zip on disk, e.g. a CI build artifact from a PR. It also accepts the zip-in-a-zip that the GitHub web page serves for artifacts, and leaves the user's file in place.Default path is unchanged
irm https://openutv.com/install.ps1 | iexpasses no parameters and takes none of the new branches. The release-resolution section of the old and new scripts was run side by side: with no arguments,-Version 2026.9and-Version 2026.8, both produce the same version and download URL.Installer test workflow
installer-test.ymlruns the real installer on a Windows runner in four modes (default, dev-build, zip-path, nested-zip) wheneverscripts/install.ps1changes, and checks the installed files exist. It uses-SkipDeps, so the dependency MSI step is not covered.🤖 Generated with Claude Code