mirror of
https://github.com/fleetdm/fleet
synced 2026-05-01 18:37:37 +00:00
This pull request adds support for managing the installation and uninstallation of Postman on Windows via Winget, and simplifies the associated PowerShell scripts. The changes introduce a new Postman app definition, refactor the install and uninstall scripts to remove unnecessary complexity, and update the Postman icon in the frontend to use a PNG image. **Postman app management support:** * Added a new `postman.json` manifest in `ee/maintained-apps/inputs/winget/` to define Postman as a managed application, including install/uninstall script paths and package metadata. **PowerShell script simplification:** * Refactored `postman_install.ps1` to remove scheduled task logic and run the installer directly with the `--silent` flag, improving reliability and maintainability. * Simplified `postman_uninstall.ps1` to directly search for and execute the uninstall command for Postman, supporting silent uninstallation and removing scheduled task and logging logic. **Frontend update:** * Updated the `Postman.tsx` icon component to use a PNG image instead of inline SVG paths, ensuring consistency with other icon assets.
12 lines
452 B
JSON
12 lines
452 B
JSON
{
|
|
"name": "Postman",
|
|
"slug": "postman/windows",
|
|
"package_identifier": "Postman.Postman",
|
|
"unique_identifier": "Postman x64 11.75.4",
|
|
"installer_arch": "x64",
|
|
"installer_type": "exe",
|
|
"installer_scope": "user",
|
|
"default_categories": ["Developer tools"],
|
|
"install_script_path": "ee/maintained-apps/inputs/winget/scripts/postman_install.ps1",
|
|
"uninstall_script_path": "ee/maintained-apps/inputs/winget/scripts/postman_uninstall.ps1"
|
|
}
|