Release 2.7.1: fix macOS DMG launch, cores path and naive download.
Use UDZO DMG via hdiutil, store cores under Application Support, and match new naiveproxy mac asset names. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"io"
|
||||
"net/http"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
@@ -78,6 +79,9 @@ func EnsureBinary(binDir string) (string, error) {
|
||||
}
|
||||
}
|
||||
_ = os.Chmod(dest, 0o755)
|
||||
if runtime.GOOS == "darwin" {
|
||||
_ = exec.Command("xattr", "-dr", "com.apple.quarantine", dest).Run()
|
||||
}
|
||||
return ResolveBinary(binDir)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user