123456789101112131415161718192021222324 |
- //go:build windows && (386 || arm || mips || mipsle)
- package yu_curl
- import (
- _ "embed"
- yu_deflate "gogs.qqck.cn/s/tools/deflate"
- yu_file "gogs.qqck.cn/s/tools/file"
- "os"
- )
- // dll下载地址:https://curl.se/windows/
- // curl version: 8.4.0
- // Build: 8.4.0_4
- // Date: 2023-10-11
- //go:embed api_windows_x32.dll.en
- var dll_raw []byte
- func init() {
- j_path := os.TempDir() + "libcurlx32.dll"
- yu_file.Write(j_path, yu_deflate.DeflateDe(dll_raw))
- loadDLL(j_path)
- }
|