diff --git a/tools/tools.go b/tools/tools.go index 6331711..19cb8e5 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -109,6 +109,11 @@ func (t *Tool) Extract() error { return fmt.Errorf("saveBinary: %w", err) } + err = os.Chtimes(t.Asset.Destination, hdr.AccessTime, hdr.ModTime) + if err != nil { + return fmt.Errorf("os.Chtimes: %w", err) + } + found = true break