-
Notifications
You must be signed in to change notification settings - Fork 967
Update Fleet-maintained apps #50433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Update Fleet-maintained apps #50433
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
8 changes: 4 additions & 4 deletions
8
ee/maintained-apps/outputs/creative-force-kelvin/windows.json
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: fleetdm/fleet
Length of output: 23237
🏁 Script executed:
Repository: fleetdm/fleet
Length of output: 191
🌐 Web query:
Winget query patched app filter version installed version greater than or equal reference💡 Result:
The Windows Package Manager (winget) does not natively support complex version comparison operators (such as >=, <=, >, or <) directly within its command-line query syntax (e.g., winget list or winget search) [1][2][3]. While there have been community requests to implement features like --version-min or version range support (e.g., package>=1.0.0), these features are not currently available in the official winget CLI [1][4]. To perform filtering based on version comparisons, the standard approach is to process the output of winget using PowerShell [1][5]. You can retrieve the list of installed packages and then filter them using PowerShell's object-oriented comparison capabilities [1]. Example of filtering installed versions using PowerShell: # Get all installed packages and filter where the version is greater than or equal to a reference version Get-WinGetPackage | Where-Object { [System.Version]$_.Version -ge '1.2.3' } If you are writing scripts to compare currently installed versions against available update versions, you can parse the output of winget list: $name = 'YourAppName' $lines = winget list --name $name if ($lines -match '\bVersion\s+Available\b') { # Extract version strings from the output and compare using PowerShell $verInstalled, $verAvailable = (-split $lines[-1])[-3,-2] if ([version]$verInstalled -ge [version]$verAvailable) { Write-Host "Installed version is current or newer." } } Summary of limitations: 1. Native CLI: Does not support operators like >=, <= in search or list queries [1][2]. 2. Version Matching: The --version flag is generally intended for exact matches or specific package targeting in install/uninstall scenarios, not for conditional filtering [1][6]. 3. Recommended Workaround: Use winget to output data and pipe it to PowerShell (Get-WinGetPackage or text parsing) for logic-based comparisons [1][5].
Citations:
🏁 Script executed:
Repository: fleetdm/fleet
Length of output: 191
🏁 Script executed:
Repository: fleetdm/fleet
Length of output: 14714
Require an in-place upgrade or fresh registration before accepting a killed install.
Get-CrystalDiskMarkEntrymatches only name and publisher, notDisplayVersion. If the installer hits the 300-second timeout during an upgrade,$killedbecomes true while an olderCrystalDiskMarkARP entry remains, and the script returns success. Gate the success path onDisplayVersion>=9.0.3, or make killed installs fail unless a freshly installed newer entry is present before the nextregistrationTimeoutSeconds.🤖 Prompt for AI Agents