Windows FMA - Zed - #46538
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThis pull request adds Windows installation and uninstallation support for the Zed application through Fleet's maintained-apps infrastructure. The changes include a winget package configuration file that specifies Zed's identifiers and script paths, a PowerShell installation script that silently executes the Inno Setup installer with all-users scope, a comprehensive uninstallation script that discovers Zed entries in the Windows registry, stops running processes, parses the uninstaller executable, and executes it with enforced silent flags, and compiled output files that catalog Zed as an available application and embed the installation and uninstallation scripts for managed deployment. Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Actionable comments posted: 1
🤖 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.
Inline comments:
In `@ee/maintained-apps/inputs/winget/scripts/zed_uninstall.ps1`:
- Around line 9-10: The uninstall matching is too broad because
$softwareNameLike = "Zed*" can match other SKUs; update the script to target the
exact product name (replace the wildcard pattern and any uses of
$softwareNameLike with an exact name variable like $softwareName = "Zed" and use
exact comparison (e.g., -eq) when filtering installed apps), and make the same
change for the other occurrences noted around the 30-34 region; keep
$publisherLike only if the publisher needs a wildcard, otherwise make it exact
(e.g., "Zed Industries") to avoid uninstalling the wrong package.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 90366b3b-5c8f-4bc5-b391-80c5940b9725
📒 Files selected for processing (5)
ee/maintained-apps/inputs/winget/scripts/zed_install.ps1ee/maintained-apps/inputs/winget/scripts/zed_uninstall.ps1ee/maintained-apps/inputs/winget/zed.jsonee/maintained-apps/outputs/apps.jsonee/maintained-apps/outputs/zed/windows.json
Summary by CodeRabbit