mirror of
https://github.com/xenos1337/httptoolkit-patcher.git
synced 2026-07-15 16:20:02 +02:00
On macOS, the integrity hash is stored in Info.plist, not embedded in the executable binary. Added patchInfoPlistHash() and platform branching so macOS patches Info.plist while Windows/Linux patch the binary. Also updated dependencies for compatibility: - @electron/asar 4.0.1 → 4.1.0 (named export change) - chalk 4 → 5.6.2 (tagged template → function call syntax) - @types/node 20 → 25 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
24 lines
484 B
JSON
24 lines
484 B
JSON
{
|
|
"name": "httptoolkit-patcher",
|
|
"version": "2.0.11",
|
|
"description": "HTTP Toolkit Pro Patcher",
|
|
"main": "index.js",
|
|
"type": "module",
|
|
"bin": "index.js",
|
|
"author": "xenos1337",
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"patch": "node index.js patch",
|
|
"unpatch": "node index.js unpatch",
|
|
"restore": "node index.js restore"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@electron/asar": "^4.1.0",
|
|
"chalk": "5.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.0"
|
|
}
|
|
}
|