diff options
Diffstat (limited to '')
-rw-r--r-- | version/debugging_linux.go | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/version/debugging_linux.go b/version/debugging_linux.go index df5dbd2f..2a7164ec 100644 --- a/version/debugging_linux.go +++ b/version/debugging_linux.go @@ -5,11 +5,13 @@ package version -// For testing the updater package from linux. Debug stuff only. +import ( + "bytes" + "fmt" + "golang.org/x/sys/unix" +) -func IsOfficialPath(path string) bool { - return true -} +// For testing the updater package from linux. Debug stuff only. func utsToStr(u [65]byte) string { i := bytes.IndexByte(u[:], 0) @@ -30,3 +32,7 @@ func OsName() string { func RunningVersion() string { return "0.0.0.0" } + +func VerifyAuthenticode(path string) bool { + return true +}
\ No newline at end of file |