Update dependencies (#2180)
Some checks failed
Development / golangci-lint (push) Has been cancelled
Development / test-build-upload (1.22.x, ubuntu-latest) (push) Has been cancelled

* Update dependencies

* Fix whatsmeow API changes
This commit is contained in:
Wim
2024-08-27 19:04:05 +02:00
committed by GitHub
parent d16645c952
commit c4157a4d5b
589 changed files with 681707 additions and 198856 deletions

View File

@@ -39,14 +39,15 @@ func main() {
{"linux", "ppc64le"},
{"linux", "riscv64"},
{"linux", "s390x"},
{"windows", "386"},
{"windows", "amd64"},
} {
fmt.Printf("%s/%s\n", v.goos, v.goarch)
base := fmt.Sprintf("ccgo_%s_%s.go", v.goos, v.goarch)
if v.goos == "windows" {
if v.goos == "windows" && v.goarch == "amd64" {
base = "ccgo_windows.go"
}
ifn := filepath.Join("..", "libsqlite3", base)
fmt.Printf("%s/%s\t%s\n", v.goos, v.goarch, ifn)
in, err := os.ReadFile(ifn)
if err != nil {
fail(1, "%s\n", err)