[codex] Fix Linux AppImage libffmpeg child-process startup (#45)

This commit is contained in:
2026-04-05 15:22:57 -07:00
committed by GitHub
parent da0087bba6
commit c47cfb52af
6 changed files with 223 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ const packageJson = JSON.parse(readFileSync(packageJsonPath, 'utf8')) as {
productName?: string;
scripts: Record<string, string>;
build?: {
afterPack?: string;
files?: string[];
};
};
@@ -77,6 +78,10 @@ test('release package scripts disable implicit electron-builder publishing', ()
assert.match(packageJson.scripts['build:win:unsigned'] ?? '', /build-win-unsigned\.mjs/);
});
test('release packaging wires a shared afterPack hook for Linux AppImage library staging', () => {
assert.equal(packageJson.build?.afterPack, 'scripts/electron-builder-after-pack.cjs');
});
test('top-level package metadata keeps Linux Electron runtime app identity canonical', () => {
assert.equal(packageJson.productName, 'SubMiner');
assert.equal(packageJson.desktopName, 'SubMiner.desktop');