1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-08 06:32:28 +08:00

多打文字

This commit is contained in:
guanren
2024-10-18 00:05:28 +08:00
parent a74462941e
commit 53ce3beef7

View File

@@ -18,7 +18,6 @@ import (
"golang.org/x/sys/windows"
"io"
"io/fs"
"log"
"net/http"
"os"
"path/filepath"
@@ -976,6 +975,5 @@ func GetExeDllVersion(filePath string) (string, error) {
minor := fixedInfo.FileVersionMS & 0xFFFF
build := fixedInfo.FileVersionLS >> 16
revision := fixedInfo.FileVersionLS & 0xFFFF
log.Println(fixedInfo.FileVersionMS)
return fmt.Sprintf("%d.%d.%d.%d", major, minor, build, revision), nil
}