winfile 1.1.1
A maintenance release. Detection is unchanged from 1.1.0 — see those notes for
the ELF work.
winfile hardcoded its version in the source, which meant the release build
could not stamp the tag into the binary and a forgotten bump would have shipped
a stale version string with nothing to catch it. The version is now supplied at
build time, matching every other tool in the win* suite:
- Release binaries are built with
-ldflags "-X main.version=vX.Y.Z"and report
the tag they were cut from. - A plain
go buildfrom source reportsdev, rather than claiming to be a
release it is not.
--version still takes the program name from argv[0], so a renamed copy
reports its own name.
Binaries
| Asset | Platform |
|---|---|
winfile_windows_amd64.exe |
Windows, x86-64 |
winfile_windows_arm64.exe |
Windows, ARM64 |
winfile_linux_amd64 |
Linux, x86-64 |
winfile_linux_arm64 |
Linux, ARM64 |
Each is self-contained: put one on your PATH and run it, nothing to extract or
install. On Linux, chmod +x it first.
Re-verified against GNU file 5.41 over the same 1348-file corpus before
publishing: no differences in the description, --mime-type, -i or
--extension.