Email report: HTML summary sent via SMTP2Go (mail-eu.smtp2go.com) at the end of every deployment. Subject "xetup report HOSTNAME", body contains per-step status table with timestamps. Non-blocking (goroutine) so it doesn't delay the summary screen. Pre-flight checks: admin rights, winget availability, network connectivity (DNS resolve), and disk space verified before the config form. Results shown as colored status lines at the top of the GUI - red warnings tell the technician what's wrong before starting a 30-minute deployment. Parallel winget: 02-software.ps1 now launches all winget installs as background jobs (Start-Job) and waits for all to complete. 7-Zip, Acrobat, OpenVPN run simultaneously instead of sequentially, saving 3-5 minutes per deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
246 B
Go
13 lines
246 B
Go
//go:build !windows
|
|
|
|
package preflight
|
|
|
|
// Result is one pre-flight check outcome.
|
|
type Result struct {
|
|
Name string
|
|
OK bool
|
|
Detail string
|
|
}
|
|
|
|
// RunAll returns empty results on non-Windows platforms.
|
|
func RunAll() []Result { return nil }
|