mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Ensure downloaded installer files are removed after validation. Add cleanupInstaller to remove the installer file (ignoring missing files and logging failures). Propagate a downloaded installer path from DownloadMaintainedApp (signature now returns the TempFileReader, the saved file path, and error), write the installer into cfg.tmpDir and set INSTALLER_PATH in cfg.env. Call cleanupInstaller on error paths and after successful validation to avoid leftover temp files. |
||
|---|---|---|
| .. | ||
| app_commander.go | ||
| app_commander_test.go | ||
| darwin.go | ||
| main.go | ||
| main_test.go | ||
| windows.go | ||