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:
@@ -0,0 +1,14 @@
|
||||
/** Type declarations for the pure relink/verify helpers in harness-relink.mjs. */
|
||||
export interface RelinkReport {
|
||||
normalized: number
|
||||
dereferenced: number
|
||||
unchanged: number
|
||||
removed: number
|
||||
errors: string[]
|
||||
}
|
||||
|
||||
export function isWithin(root: string, p: string): boolean
|
||||
export function relinkHarness(out: string, repoRoot: string): RelinkReport
|
||||
export function findEscapingLinks(out: string): string[]
|
||||
export function assertSelfContained(out: string): void
|
||||
export function probeSymlinkSupport(): boolean
|
||||
Reference in New Issue
Block a user