diff --git a/README.md b/README.md
index e78bc60..953fb27 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@

-[Watch search in action](site/media/scout-search-demo.gif) · [Watch the upgrades view](site/media/scout-upgrades-demo.gif) · [See all four themes](https://wingetscout.com/#themes). These captures use Scout's safe `--mock` mode and show sample packages from the current development build.
+[Watch search in action](site/media/scout-search-demo.gif) · [Watch the upgrades view](site/media/scout-upgrades-demo.gif) · [See all four themes](https://wingetscout.com/#themes). These captures use Scout's safe `--mock` mode and show sample packages.
## Install
diff --git a/WinGetScout.csproj b/WinGetScout.csproj
index 6e7a721..1646afc 100644
--- a/WinGetScout.csproj
+++ b/WinGetScout.csproj
@@ -20,7 +20,7 @@
wingetscout
Scout for WinGet
Scout for WinGet
- 0.2.1
+ 0.2.2
Scout for WinGet is a terminal app for finding, installing, and updating Windows packages.
true
true
diff --git a/packaging/WINGET-SUBMISSION.md b/packaging/WINGET-SUBMISSION.md
index 4099c38..4177e31 100644
--- a/packaging/WINGET-SUBMISSION.md
+++ b/packaging/WINGET-SUBMISSION.md
@@ -8,7 +8,7 @@ The installer manifest has `InstallerType: zip`, `NestedInstallerType: portable`
2. Download that artifact from the successful release workflow run. The files are under `manifests/h/Harder/WinGetScout//`. To regenerate directly from the published ZIPs and validate in one command on Windows, run:
```powershell
- $version = '0.2.1' # replace with the published release version
+ $version = '0.2.2' # replace with the published release version
pwsh ./packaging/prepare-winget-submission.ps1 -Version $version
```
diff --git a/packaging/build-msix.ps1 b/packaging/build-msix.ps1
index 0f5a9ac..8047503 100644
--- a/packaging/build-msix.ps1
+++ b/packaging/build-msix.ps1
@@ -1,6 +1,6 @@
<#
.SYNOPSIS
- Build (and optionally sign / test) the download-B MSIX: a Native-AOT, package-identity build of
+ Build (and optionally sign / test) the MSIX: a Native-AOT, package-identity build of
wingetscout that reaches the in-box out-of-process WinGet COM server. See ../com-activation.md.
.DESCRIPTION
@@ -16,12 +16,12 @@
.EXAMPLE
# CI: pack only (sign separately with Azure Artifact Signing, see code-signing.md):
- pwsh ./packaging/build-msix.ps1 -Arch x64 -Version 0.2.1.0
+ pwsh ./packaging/build-msix.ps1 -Arch x64
#>
[CmdletBinding()]
param(
[ValidateSet('x64', 'arm64')] [string]$Arch = 'arm64',
- [string]$Version = '0.2.1.0',
+ [string]$Version,
[string]$Publisher = 'CN=wingetscout (Dev)',
[string]$CertPath,
[string]$CertPassword = 'spike',
@@ -33,7 +33,13 @@ param(
$ErrorActionPreference = 'Stop'
$repo = Split-Path -Parent $PSScriptRoot
-if ($Version -notmatch '^\d+\.\d+\.\d+\.\d+$') { throw "Version must be 4-part (e.g. 0.2.0.0); got '$Version'." }
+if (-not $Version) {
+ $project = Get-Content -LiteralPath (Join-Path $repo 'WinGetScout.csproj') -Raw
+ $projectVersion = [regex]::Match($project, '([^<]+)').Groups[1].Value
+ if ($projectVersion -notmatch '^\d+\.\d+\.\d+$') { throw 'Could not read a 3-part project version from WinGetScout.csproj' }
+ $Version = "$projectVersion.0"
+}
+if ($Version -notmatch '^\d+\.\d+\.\d+\.\d+$') { throw "Version must be 4-part (e.g. 1.2.3.0); got '$Version'." }
if (-not $OutDir) { $OutDir = Join-Path $repo 'dist' }
New-Item -ItemType Directory -Path $OutDir -Force | Out-Null
diff --git a/site/README.md b/site/README.md
index c212102..325f1e0 100644
--- a/site/README.md
+++ b/site/README.md
@@ -6,7 +6,7 @@ Run `python site/build.py` from the repository root to build `site/_build/` and
## Refresh the product captures
-The four theme PNGs and two short GIFs in `site/media/` come from the real app in safe `--mock` mode. They show sample packages; they are not captures of a published release. Build the current branch, install [tuirec](https://github.com/tui-cs/tuirec), then run on Windows:
+The four theme PNGs and two short GIFs in `site/media/` come from the real app in safe `--mock` mode. They show sample packages rather than someone's installed apps. Build the current branch, install [tuirec](https://github.com/tui-cs/tuirec), then run on Windows:
```powershell
dotnet build WinGetScout.csproj -c Release -f net10.0
diff --git a/site/index.html b/site/index.html
index 9c123cc..49a699c 100644
--- a/site/index.html
+++ b/site/index.html
@@ -58,7 +58,7 @@ Find the package.
Know before you install.
- MAKE IT YOURS
Four ways to feel at home.
Switch palettes in the app with t. These captures show the current development build with sample packages; the gallery changes both palette and task.
+ MAKE IT YOURS
Four ways to feel at home.
Switch palettes in the app with t. These captures show sample packages; the gallery changes both palette and task.
Sage / SearchCAPTURED IN DEMO MODE

Search results and package details, side by side.