diff options
Diffstat (limited to 'updater')
-rw-r--r-- | updater/downloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/downloader.go b/updater/downloader.go index c1ca4beb..382d284b 100644 --- a/updater/downloader.go +++ b/updater/downloader.go @@ -162,7 +162,7 @@ func DownloadVerifyAndExecute() (progress chan DownloadProgress) { out = nil progress <- DownloadProgress{Activity: "Verifying authenticode signature"} - if !version.IsOfficialPath(unverifiedDestinationFilename) { + if !version.VerifyAuthenticode(unverifiedDestinationFilename) { os.Remove(unverifiedDestinationFilename) progress <- DownloadProgress{Error: errors.New("The downloaded update does not have an authentic authenticode signature")} return |