mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-12 00:32:27 +08:00
多打文字
This commit is contained in:
@@ -18,7 +18,6 @@ import (
|
|||||||
"golang.org/x/sys/windows"
|
"golang.org/x/sys/windows"
|
||||||
"io"
|
"io"
|
||||||
"io/fs"
|
"io/fs"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
@@ -976,6 +975,5 @@ func GetExeDllVersion(filePath string) (string, error) {
|
|||||||
minor := fixedInfo.FileVersionMS & 0xFFFF
|
minor := fixedInfo.FileVersionMS & 0xFFFF
|
||||||
build := fixedInfo.FileVersionLS >> 16
|
build := fixedInfo.FileVersionLS >> 16
|
||||||
revision := fixedInfo.FileVersionLS & 0xFFFF
|
revision := fixedInfo.FileVersionLS & 0xFFFF
|
||||||
log.Println(fixedInfo.FileVersionMS)
|
|
||||||
return fmt.Sprintf("%d.%d.%d.%d", major, minor, build, revision), nil
|
return fmt.Sprintf("%d.%d.%d.%d", major, minor, build, revision), nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user