Skip to content

Commit a93b496

Browse files
committed
fix: replace Unix commands with cross-platform Node.js scripts
1 parent 5a08179 commit a93b496

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"dxt:build": "tsup",
2020
"dxt:pack": "npm run dxt:build && dxt pack",
2121
"dxt:dev": "dxt dev",
22-
"postinstall": "test -d .git && simple-git-hooks || true",
23-
"prepare": "test -d .git && simple-git-hooks || true"
22+
"postinstall": "node -e \"try { require('fs').existsSync('.git') && require('simple-git-hooks')() } catch(e) {}\"",
23+
"prepare": "node -e \"try { require('fs').existsSync('.git') && require('simple-git-hooks')() } catch(e) {}\""
2424
},
2525
"keywords": [
2626
"mcp",

0 commit comments

Comments
 (0)