feat: enhance desktop packaging process with self-contained harness verification
- Updated README and README.zh to clarify packaging commands and added verification step. - Improved packaging scripts to automatically build the self-contained runtime and verify its integrity. - Introduced new scripts for verifying harness self-containment and booting the web profile. - Added comprehensive tests for relinking harness symlinks and ensuring self-containment. - Updated package.json scripts to reflect new build and verification processes.
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
"build": "tsc -b tsconfig.json && pnpm run build:preload",
|
||||
"build:preload": "esbuild src/preload.ts --bundle --platform=node --format=cjs --external:electron --outfile=lib/types/preload.cjs",
|
||||
"build:harness": "node scripts/build-harness.mjs",
|
||||
"verify:harness": "node scripts/verify-harness.mjs",
|
||||
"pack:dir": "electron-builder --dir",
|
||||
"verify:packed": "node scripts/verify-harness.mjs --app dist",
|
||||
"generate-release-json": "node scripts/generate-release-json.mjs",
|
||||
"stage-release": "node scripts/stage-release.mjs",
|
||||
"typecheck": "tsc -b tsconfig.json",
|
||||
|
||||
Reference in New Issue
Block a user