wsl-ui: Add version 0.19.0#17808
Conversation
📝 WalkthroughWalkthroughThis PR adds a new Scoop package manifest file for WSL UI version 0.19.0. The manifest defines metadata for the WSL2 Manager desktop application, including a description, GPL-3.0 license, and homepage reference. It specifies architecture-specific download URLs and SHA256 hashes for both x64 and arm64 portable executables from the GitHub releases page, along with the launcher binary name and shortcut configuration. An autoupdate template enables automatic detection and installation of future releases by constructing version-specific download URLs from a Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (2)
bucket/wsl-ui.json (2)
5-6: ⚡ Quick winConsider adding WebView2 runtime to the
suggestfield.Tauri applications on Windows depend on the WebView2 runtime. While modern Windows 10 (October 2020+) and Windows 11 include it by default, older systems may not. Adding a
suggestentry helps users understand and install this dependency if needed.💡 Proposed enhancement
"license": "GPL-3.0-only", + "suggest": { + "WebView2 Runtime": "extras/webview2-runtime" + }, "architecture": {🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@bucket/wsl-ui.json` around lines 5 - 6, Add a suggest entry for the WebView2 runtime in the package metadata so Windows users know to install it if missing: update the JSON to include a "suggest" object/array (adjacent to "license" / "architecture") that mentions "Microsoft Edge WebView2 Runtime" (and optionally a link or note about installing it) to surface this dependency for Tauri apps on older Windows systems.
1-34: Testing guidance for manifest validation.Before merging, please validate the manifest locally:
# Optional: Enable debug mode and set GitHub token (read access only) scoop config debug true scoop config gh_token <your-github-token> # Force version detection and autoupdate .\bin\checkver.ps1 -App wsl-ui -f # Auto-format (Lint) the JSON manifest .\bin\formatjson.ps1 -App wsl-ui # Test installation for each architecture (if supported) scoop install bucket\wsl-ui.json -a 64bit scoop install bucket\wsl-ui.json -a arm64For more details, see the Contribution Guide and App Manifests Wiki.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@bucket/wsl-ui.json` around lines 1 - 34, Run the suggested local validation steps to ensure the manifest fields are correct: enable debug and set GH token, run .\bin\checkver.ps1 -App wsl-ui -f to verify "checkver" and "autoupdate" URL templates and confirm the fetched version matches the "architecture" URLs, run .\bin\formatjson.ps1 -App wsl-ui to lint the JSON, and attempt installs for both architectures (scoop install bucket\wsl-ui.json -a 64bit and -a arm64) to verify "url", "hash", "bin" and "shortcuts" work as expected; fix any mismatches in the "architecture" entries, URL templates, or SHA hashes if install or checkver fails.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@bucket/wsl-ui.json`:
- Around line 5-6: Add a suggest entry for the WebView2 runtime in the package
metadata so Windows users know to install it if missing: update the JSON to
include a "suggest" object/array (adjacent to "license" / "architecture") that
mentions "Microsoft Edge WebView2 Runtime" (and optionally a link or note about
installing it) to surface this dependency for Tauri apps on older Windows
systems.
- Around line 1-34: Run the suggested local validation steps to ensure the
manifest fields are correct: enable debug and set GH token, run
.\bin\checkver.ps1 -App wsl-ui -f to verify "checkver" and "autoupdate" URL
templates and confirm the fetched version matches the "architecture" URLs, run
.\bin\formatjson.ps1 -App wsl-ui to lint the JSON, and attempt installs for both
architectures (scoop install bucket\wsl-ui.json -a 64bit and -a arm64) to verify
"url", "hash", "bin" and "shortcuts" work as expected; fix any mismatches in the
"architecture" entries, URL templates, or SHA hashes if install or checkver
fails.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 1b42d08a-ee8a-4190-82b9-5cc29f1f326f
📒 Files selected for processing (1)
bucket/wsl-ui.json
Summary
Adds
bucket/wsl-ui.jsonat v0.19.0 so users canscoop install wsl-ui. Manifest covers x64 and arm64 with_portable.exeassets renamed towsl-ui.exevia URL fragment, includesbin,shortcuts("WSL UI"),checkver: "github", and per-archautoupdateURLs matching the project'sreleases/download/v$version/WSL.UI_$version_<arch>_portable.exepattern.Closes #17807