klaatcode-darwin-arm64 1.15.39 → 1.15.40

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/klaatcode CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "klaatcode-darwin-arm64",
3
- "version": "1.15.39",
3
+ "version": "1.15.40",
4
4
  "preferUnplugged": true,
5
5
  "os": [
6
6
  "darwin"
package/postinstall.js CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  // Runs automatically after `npm install` / `npm install -g klaatcode`.
3
- // Strips the macOS quarantine xattr and re-applies an ad-hoc code signature
4
- // so Gatekeeper and security tools (Xfence, etc.) accept the binary.
3
+ // Strips the macOS quarantine xattr so Gatekeeper doesn't block the binary.
4
+ // IMPORTANT: Do NOT re-sign Bun's linker sets the linker-signed flag
5
+ // (0x20000) which XFENCE requires. codesign --force destroys it.
5
6
  const { execSync } = require("child_process")
6
7
  const path = require("path")
7
8
 
@@ -12,10 +13,4 @@ try {
12
13
  } catch {
13
14
  // quarantine attr may not exist — not an error
14
15
  }
15
-
16
- try {
17
- execSync(`codesign --force --sign - "${bin}"`, { stdio: "pipe" })
18
- console.log("klaatcode: ad-hoc signed binary (quarantine removed)")
19
- } catch (e) {
20
- console.warn("klaatcode: codesign skipped (non-fatal):", e && e.message)
21
- }
16
+ console.log("klaatcode: postinstall complete (quarantine stripped, signature preserved)")