// Copyright (c) 2026 Petr BalvĂ­n (https://petrbalvin.org) // SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0 package updater import ( "os" "runtime" "syscall" ) // defaultSyscallExec replaces the current process image; it never // returns on success. func defaultSyscallExec(path string, argv []string) error { return syscall.Exec(path, argv, os.Environ()) } func goos() string { return runtime.GOOS } func goarch() string { return runtime.GOARCH }