fleet/pkg/file/scripts
Roberto Dip 92e540aee5
add scripts to add/remove software (#18649)
for:

- https://github.com/fleetdm/fleet/issues/18314
- https://github.com/fleetdm/fleet/issues/18315
- https://github.com/fleetdm/fleet/issues/18317
- https://github.com/fleetdm/fleet/issues/18316

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-01 14:15:59 -03:00
..
install_deb.sh add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
install_exe.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
install_msi.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
install_pkg.sh add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
README.md add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
remove_deb.sh add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
remove_exe.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
remove_msi.ps1 add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00
remove_pkg.sh add scripts to add/remove software (#18649) 2024-05-01 14:15:59 -03:00

File scripts

This folder contains scripts to install/remove software for different types of installers.

Scripts are stored on their own files for two reasons:

  1. Some of them are read and displayed in the UI.
  2. It's helpful to have good syntax highlighting and easy ways to run them.

Variables

Because the scripts are shared between Go and JS, the convention is to declare variables using $VAR_NAME and document its intended usage here.

  • $INSTALLER_PATH path to the installer file.