Skip to content

Commit 206fd87

Browse files
committed
fix: correct electron-builder beforePack config from shell command to module path
1 parent 80a655c commit 206fd87

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "goodable",
3-
"version": "0.7.21",
3+
"version": "0.7.22",
44
"description": "AI-Powered Web App Builder - Build apps with natural language using Claude Code, Cursor, and more",
55
"private": true,
66
"main": "electron/main.js",
@@ -117,7 +117,7 @@
117117
"**/@anthropic-ai/claude-agent-sdk/cli.js",
118118
"**/@anthropic-ai/claude-agent-sdk/**/*.wasm"
119119
],
120-
"beforePack": "node scripts/download-tiktok-downloader.js",
120+
"beforePack": "./scripts/download-tiktok-downloader.js",
121121
"extraResources": [
122122
{
123123
"from": ".next/standalone",

scripts/download-tiktok-downloader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,5 +351,5 @@ async function main() {
351351
}
352352
}
353353

354-
// Run
355-
main();
354+
// Export for electron-builder beforePack hook
355+
module.exports = main;

0 commit comments

Comments
 (0)