14 lines
199 B
Go
14 lines
199 B
Go
package main
|
|
|
|
func main() {
|
|
bin, sig, err := tbget.DownloadUpdaterForLang("")
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
if tbget.CheckSignature(bin, sig) {
|
|
} else {
|
|
panic("Signature check failed")
|
|
}
|
|
|
|
}
|