diff --git a/wps.go b/wps.go index 1f26a21..7d4a1b4 100644 --- a/wps.go +++ b/wps.go @@ -58,7 +58,7 @@ func download(src, dest string) error { fmt.Printf("Downloading binary data from %s (200+ mb), it may take some time.\n", src) var stdoutBuf, stderrBuf bytes.Buffer - cmd := exec.Command("/usr/bin/aria2c", "-c", "-x", "16", "-o", dest, src) + cmd := exec.Command("/usr/bin/aria2c", "-c", "--check-certificate=false", "-x", "16", "-o", dest, src) stdoutIn, _ := cmd.StdoutPipe() stderrIn, _ := cmd.StderrPipe() @@ -145,7 +145,7 @@ func main() { app := cli.NewApp() app.Usage = "WPS Office installer for openSUSE" app.Description = "Install WPS Office in your openSUSE easily." - app.Version = "20201020" + app.Version = "20210130" app.Authors = []cli.Author{ {Name: "Marguerite Su", Email: "marguerite@opensuse.org"}, } diff --git a/wps.yaml b/wps.yaml index 1343c97..f61f4b7 100644 --- a/wps.yaml +++ b/wps.yaml @@ -1,5 +1,5 @@ name: wps-office -version: 11.1.0.9662-1 +version: 11.1.0.10161-1 alpha: architecture: x86_64 -url: https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/9662 +url: https://wdl1.cache.wps.cn/wps/download/ep/Linux2019/10161