@apexacc/cli 1.3.3 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/apex +1 -0
- package/package.json +1 -1
package/bin/apex
CHANGED
|
@@ -127,6 +127,7 @@ async function ensureBinary() {
|
|
|
127
127
|
await download(`https://github.com/${REPO}/releases/download/v${VERSION}/apex-verify-darwin`, verifyPath)
|
|
128
128
|
await verifySha256(verifyPath, `https://github.com/${REPO}/releases/download/v${VERSION}/apex-verify-darwin.sha256`)
|
|
129
129
|
require('fs').chmodSync(verifyPath, 0o755)
|
|
130
|
+
try { require('child_process').execSync(`xattr -d com.apple.quarantine "${verifyPath}"`, { stdio: 'ignore' }) } catch {}
|
|
130
131
|
require('fs').writeFileSync(verifyVersionPath, VERSION)
|
|
131
132
|
}
|
|
132
133
|
}
|