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:
@@ -108,8 +108,8 @@ pnpm desktop:dev # opens the desktop window
|
||||
### Packaging a release
|
||||
|
||||
```sh
|
||||
pnpm --filter @deepseek-ai/dsh-desktop run build:harness # assemble the self-contained runtime
|
||||
pnpm desktop:pack # electron-builder: .dmg / .nsis
|
||||
pnpm desktop:pack # build lib+web, assemble the self-contained harness, then electron-builder: .dmg / .nsis
|
||||
pnpm desktop:verify # prove the packaged app's harness is self-contained and boots
|
||||
pnpm --filter @deepseek-ai/dsh-desktop run stage-release # copy installers + manifest into the publish site
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user