Update architecture detection method
``` In some OS, obtaining the processor type from `uname - p` may fail. For Golang programs, we should use `go env GOARCH` to obtain the architecture ===================== $ go env GOARCH amd64 $ uname -m x86_64 $ uname -p unknown ``` Signed-off-by: weidongkl <weidong@uniontech.com>
This commit is contained in:
parent
dcf6819877
commit
57a1bb80e5
Loading…
Reference in New Issue